' Robotics with the Boe-Bot - BoeBotForwardThreeSeconds.bs2 ' Make the Boe-Bot roll forward for three seconds. ' {$STAMP BS2} ' {$PBASIC 2.5} DEBUG "Program Running!" counter VAR Word FREQOUT 4, 2000, 3000 ' Signal program start/reset. FOR counter = 1 TO 122 ' Run servos for 3 seconds. PULSOUT 13, 850 PULSOUT 12, 650 PAUSE 20 NEXT END