View Single Post
  #12   Spotlight this post!  
Unread 13-01-2003, 10:18
Geoffrey4283 Geoffrey4283 is offline
Registered User
#0825
 
Join Date: Jan 2003
Location: SWVGS
Posts: 12
Geoffrey4283 is an unknown quantity at this point
Still not working

We've changed the code from the previous bit to this:

IF rc_sw1 = 1 THEN motor_fwd

drive_L = drive_L
goto end_optics:

motor_fwd:
drive_L = 254

end_optics:

The point of all this is that when we have the optical sensor reflecting, indicated by the solid or rapidly blinking red LED on the top of the banner sensor, we want the robot to move forward. It isn't, to say the least. The problem either lies with our program, or our contact between the white sensor cable and SW1 on the EDU robot. Any suggestions?