Hi,
With the circuits we are exploring here, the two LEDs are turned OFF by setting
the I/O of the PIC as input. (Input tristated). When the I/O is set as input,
the voltage present on the I/O pin must be recognized as logic LOW or as a
logic HIGH. Undefined voltage levels are dangerous for the input buffer of the I/O.
Floating inputs on digital pins are a no-no.
Best regards,
Luciano
Bookmarks