hi ,im new in pic controller.
im playing with pic16f84a.
i got a problem programing 5 bits of led from the portb output pins.
basically,i undestand by
HIGH 0
HIGH 1
HIGH 2
HIGH 3
HIGH 4
PAUSE 500
LOW 0
LOW 1
LOW 2
LOW 3
LOW 4
PAUSE 500
question is how can i just simply set the output high at any of the bits in just one line.doing the above could take up the memory lines.
any way i could shortened up the program.
example if i want to have it in the binary form
00001 'high on pin1
11010 'high on pin 1,3 and 4
thanks..
Bookmarks