Introduction to Microcontroller Programming
About PICmicro Chips
Clocking Your PICmicro Devices E-Blocks Flowcode Step By Step
PICmicro Projects
Labs |
Set up the Right Output
Set up the properties for this Output as shown in the next diagram:
![]() Here are the alternatives for this Output:
![]() ![]() As we want to light up the next LED in the array, the output port needs to turn on bit 1. One way to do that is to output the value '2 ' (=0000 0010 in binary.) The other way outputs 255 (= 1111 1111 in binary,) but only activates a single output bit, bit 1 in this case.
![]() |