PIC Microcontroller
Friday, 25 January 2013
How to use switch software in mikroc
if(Button(&PORTA,0,1,1))
porta : port which switch connect with it.
0 : pin number in port.
1,1 : leave them like this.
if condition will be satisfy when PORTA has signal that mean button or switch was clicked.
Circuit using protues simulation
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment