[SOLVED] [Moved] i am new to this i want to learn it can any one help me with it??

Status
Not open for further replies.

mvrthunder

Newbie level 5
Joined
Aug 5, 2013
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
48
A switch is connected to pin PORTB-4 and an LED to pin PORTC-7. Write a program to
get the status of the switch and send it to the LED.
any one needs the fig i have attached it...
 

Re: i am new to this i want to learn it can any one help me with it??

http://www.matrixmultimedia.com/flowcode.php

Flowcode is one of the world's most advanced graphical programming languages for microcontrollers. The great advantage of Flowcode is that it allows those with little to no programming experience to create complex electronic systems in minutes. Flowcode is available in more than twenty languages and currently supports the PICmicro, dsPIC, PIC24, AVR and ARM series of microcontrollers.
 

Re: i am new to this i want to learn it can any one help me with it??


can u just post the code.... plz......
 

Trisb=1
trisc=0

start:
Portb=0
portc=0
if portb.4=1 then on
goto start
on:
Portc.7=0
pause 5000
goto start
end
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…