Quote:
|
Originally Posted by zdude255
Hi Everyone!
I know this is a pretty basic question, but i've got the line tracking code down, and I want to know where to attach the light sensors on the robot controller and how to read them in the program.
Thanks in advance!
|
See the diagram in the rules section 5.6.8, Figure 5.2.
It shows how the wires on the banner sensor connect.
You only need the black OR the white wire connected to a digital input. One is on when the sensor sees something, the other is on when the sensor doesn't see anything.
The 12v connection is to power the light as well as the sensor feedback.
The ground can be any ground.