|
Sounds right to me. FYI, in one second the pbasic code will loop about 40 times, depending on the amount of code and probably the temperature (cold=faster).
We did something similar in our robot this year, but we rely on hard stops so the motor will stall for a little while (no more than 1/2 sec) before the program tells it to stop. This way if it gets hung up for a second or the loop executes are slightly different speeds, we should still get the needed rotation from the motor.
__________________
SPARK 562: Students Pursuing Applied Robotics Knowledge
2006 BAE Granite State Regional: Finalists with 319 and 176
2006 BAE Granite State Regional: Winners of Motorola Quality Award
2004 BAE Granite State Regional: 7th Seed
2004 Mayhem on the Merrimack Champions! Thanks, 61 and 1289!
|