PIC Microcontroller
Wednesday, 6 February 2013
LED and Switch
run LED after press button or switch
if(button(&porta,0,1,1).
porta : port which switch connect with it.
0 : bin of porta number 0.
1: leave it like this ,details in help of Mikroc Program .
when click switch ,blue and red LED will be on.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment