|
Ok one problem
When creating my code for the Autonomous mode, i'm running into a problem with making a counter of some sort so i can change directions or perform actions during the mode. I thought i'd try setting up one like most other languages time = time + 1 << thats how i know how to do it, its plan and simple. I've not had too much experiene with PBASIC but there must be another way.
Also my if statments sorta go like this, are they the problem?
if time < (a certain time) then do_a_turn
do_a_turn:
"turn code"
if theres something wrong with that lemme know too. I'm probly doing something really dumb, but its a big problem we're having.
thanks!
|