|
sensor doesn't work
I just hooked up the sensor as described by First, wiring the two digital outputs to switch 15 and 16 and also wrote the following command statement:
if rc_sw15 = 1 then p2_y=150
if rc_sw16 = 1 then p4_y=150
But when I turn the robot on and try different surfaces, the sensor doesn't do anything, it doesn't turn p2_y=150
Help!
|