Quote:
Originally Posted by KHall
Connect the white and black wires to a DIO port on the sidecar. Each sensor acts like a simple switch. As a switch, the signal wires must connect to the outside two pins of a DIO port. (One sensor per DIO port). And since it is just a switch (on / off ) it doesn't matter which color (black or white) goes to which of the two pins on the DIO port.
|
We found that since the two signal wires (white and black) are just logically oposite that only wiring one was required. Just be sure you keep it consistent between the sensors you used otherwise your code will be more difficult to follow.
In our initial tests yesterday we tracked white masking tape on a grey floor and later duct tape on a white floor so between those we had to adjust our code to flip the value we got since the contrast was backwards.