guides that doesnt guide at all.
deetwist
Posts: 3
'
[ Main Routine ]
FOR counter = 1 TO 100 ' Deliver 100 forward pulses
PULSOUT ServoLeft, 850
PULSOUT ServoRight, 735
PAUSE LowTime
LOOP
DEBUG "Done!", CR, ' User instructions
"Press/release reset", CR,
"twice to restart...", CR
END
- I dont know why but I keep getting "undefined symbol" on the LowTime I am just doing what the book has told me to do. can someone help please!. thats for the sumo bot programing.
[ Main Routine ]
FOR counter = 1 TO 100 ' Deliver 100 forward pulses
PULSOUT ServoLeft, 850
PULSOUT ServoRight, 735
PAUSE LowTime
LOOP
DEBUG "Done!", CR, ' User instructions
"Press/release reset", CR,
"twice to restart...", CR
END
- I dont know why but I keep getting "undefined symbol" on the LowTime I am just doing what the book has told me to do. can someone help please!. thats for the sumo bot programing.
Comments
That error is caused when you do not have a CON statement declaring the LOWTIME constant. I assume you are referring to Applied Robotics with the Sumobot as this code is referenced on page 22. Also on that page is the note to add the CON statement:
Do you have that in your code as well?
Full code from book:
FYI: It is against the forum rules to double post, so I will remove your other thread with the same question.
And lastly, a tip on posting code on the forums: