I:\Documents\Visual Studio 2008\Projects\gpseq\Examples\robot0.gp3

Robot controller (version 0, just roll forward until you see something and stop)


Step #TagConditionActionNextNotes
1Start (wait) Always PWM: 200 freq=32766
 Start IR
2MainLoop Input: XXXXXXX0 LED On
objectCheck IR sensor
3  (wait) Always Pulse: pin 7 2000
 Drive forward
4  (wait) Always Pulse: pin 6 1000
 Drive forward
5  (wait) After 20 ms   MainLoopServo delay (20ms)
6object (wait) Always   objectWe detected something. For now, stop.