· i'm new at this robotics stuff and i need to know how to make the robot move forward and then turn 90 degrees left and then keep going forward?·· if anyone could help me i would be very pleased
' {$STAMP BS2}
' {$PBASIC 2.5}
counter VAR Word
FOR counter = 1 TO 300'The bigger this number, the longer the forward
PULSOUT 12, 650
PULSOUT 13, 850
Next
FOR counter = 1 TO 100'the bigger this number, the longer the turn
PULSOUT 12, 650
PULSOUT 13, 850
Next
Do
PULSOUT 12, 650
PULSOUT 13, 850
loop
Comments
Have you read Robotics With The Boe-bot? It teaches you all of this information and much more:
http://www.parallax.com/dl/docs/books/edu/Roboticsv2_2.pdf
-ACfishing
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
-ACfishing
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·