Let's Make Robots!

good

first program good

I am new to programing and i have a question, Is this program rightfor a tracked robot with 2 moters 1 servo 1 led 1 sharp and a small speaker?Also it is a picaxe 28x2.this is the program.

Symbol dangerlevel = 70
symbol turn = 300
symbol servo_turn = 700

main:
readadc 0, b0
if b0 < dangerlevel then
gosub nodanger
else
gosub whichway
end if
goto main


nodanger:
high B.5 : high B.6 : low B.4 : low B.7
return

Sends GPS coordinates, buttons, LED's, LCD, buttons, LED's, and more buttons.
Robots with GPS waypoints can develop a list of waypoints, and with more complex robotic systems this can be tricky to manage. VStack (vertical stack, I don't know … Read more