This is page about my project on robotics and the codes I use to run a series test and rountines to show my knowledge. The type of robot I use was a parallex robotics kit:standard moving bot. The bot ran through the tests and rounties really well and the only thing i would want people to keep is to keep the robots wheels for accurate data and make sure to follow the building instructions and don't move the servos mamaully. Because you will break the whole robot.
These are a few of codes I ran on my robot.
Foward,Left,Right,Foward,Right,Foward,Then goes in reverse from the last action to the first action.
' {$STAMP BS2}
'
{$PBASIC 2.5}
counter VAR Word
FREQOUT 4, 2000, 3000
FOR counter = 1 TO 126
PULSOUT 13, 650
PULSOUT 12, 850
PAUSE 20
NEXT
PAUSE 200
FOR counter = 1 TO 24
PULSOUT 13, 652
PULSOUT 12, 648
PAUSE 20
NEXT
PAUSE 200
FOR counter = 1 TO 101
PULSOUT 13, 653
PULSOUT 12, 854
PAUSE 20
NEXT
PAUSE 200
FOR counter = 1 TO 42
PULSOUT 13, 752
PULSOUT 12, 850
PAUSE 20
NEXT
FOR counter = 1 TO 192
PULSOUT 13, 652
PULSOUT 12, 849
PAUSE 20
NEXT
PAUSE 200
FOR counter = 1 TO 43
PULSOUT 13, 751
PULSOUT 12, 851
PAUSE 20
NEXT
FOR counter = 1 TO 258
PULSOUT 13, 648
PULSOUT 12, 852
PAUSE 20
NEXT
PAUSE 200
FOR counter = 1 TO 256
PULSOUT 13, 852
PULSOUT 12, 648
PAUSE 20
NEXT
PAUSE 200
FOR counter = 1 TO 43
PULSOUT 13, 851
PULSOUT 12, 751
PAUSE 20
NEXT
FOR counter = 1 TO 192
PULSOUT 13, 652
PULSOUT 12, 849
PAUSE 20
NEXT
PAUSE 200
To learn more HTML/CSS, check out these tutorials!