Quote:
|
Originally Posted by Texan
Second, somebody correct me if I'm wrong, the pins are pull ups, meaning that they are normally 1, unless they recieve a signal, which makes them 0. So you need to switch the test for 0s and 1s.
|
The banner sensors have two signal wires, one of which is Normally Open and one of which is Normally Closed. So, his code is correct (in that aspect), assuming it is wired correctly.