|
Re: Photoelectric sensor wiring
To test whether your sensors are working, you can add a printf statement to your code regarding your sensors and download it to the robot. Then on windriver, open up target console (I think) and enable the robot, wave the sensors over something that makes the sensor lights go orange and yellow, or green. If the target console reads a value of 1 or zero- green then its wired correctly
Last edited by krudeboy51 : 15-02-2011 at 07:12.
|