|
"Timer Loop" Program
Hi
Recently our team has been struggling through our autonomous program by using some trial and error and hoping that we could get it to work. Unfortunatly we have hit a problem that is timming loops. I ran a search for timing loops on this site and found some info but have been unable to adapt it or even figure it out.
I was wondering if some of you briliant programs could write a simple segment for our autonomous program. I would like to have PWM 1 to have a value of 254 or whatever "full forward" is when the program starts and have it run for .5 seconds at that speed then stop.
It would be handy if you could explain what values would need to be changed in order to adjust the length of time the motor is on and how fast it goes.
I greatly appreciate your help in this matter. Thank you.
__________________
Brett
|