|
Re: How do light sensor(Banner) work?
take the banner, hook up +5v, GND, and one of the two sensor wires (they are mirrors of each other, one true when the other is false), and plug it into a digital input. play around with it. when the banner sees the line, it will return one value (either 1 or 0), and when it doesn't, it will return the other.
look at the code to map which digital I/O pins are inputs vs. outputs in the default code.
|