|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Robot Drive for 10 seconds
unsigned int timer = 0;
//Forward for 10 seconds if(timer < 382){ pwm01 = pwm02 = 225; timer++; } since the autonomus loops every 26.2ms 10 / 0.0262 = ~382 would this work to drive the robot forward for 10s/ thanks |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| where can I find the code for the first 15 seconds? | CompMaster | Programming | 2 | 16-02-2005 16:23 |
| counting in seconds for the autonomous mode?? | Pattyta | Programming | 22 | 31-03-2004 12:55 |
| pic: Four Seconds | CD47-Bot | Extra Discussion | 9 | 30-03-2003 15:31 |
| Numbers for thought: Are 10 black balls worth 30 seconds? | archiver | 2001 | 6 | 23-06-2002 22:42 |
| about how Drive Train push the robot... shouldn't the force accelerate the robot? | Ken Leung | Technical Discussion | 12 | 26-11-2001 09:39 |