|
pbasic question
I have a question referring to my dead reckoning autonomous program. On my last post I asked how to make the robot go straight and stop, after reviewing the answers posted, and my own tinkering, I was able to do that. I also am able to go reverse and turn, by simply modifying the pwm values to the motor. However when I write a sequence of things to do, such as go forward, pause, go left, pause, go reverse, the robot only performs the last action in the sequence of movements I create (in that case, reverse.) I suspect this is some nuance of PBASIC that I do not understand, so any help would be appreciated. Also, I am doing this in ver 2.0, and if you believe somehow 2.5 will resolve this problem I'd be even more glad to hear that.
Thanks again guys,
Mike
|