|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Running a motor for a set time in auton
Suppose that I need to run relay1 for 500 milliseconds. I have tried code like this in roboemu1.11.
if (auton_mode = 1) then relay1_fwd = 1 pause 500 relay1_fwd = 0 endif Shouldn't that turn on relay 1, wait 500 milliseconds, then turn it off? Since this doesn't work how would you do it? Thanks |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Actual execution time measurement | Dan | Technical Discussion | 5 | 24-03-2003 11:36 |
| auton mode running motors incorrectly | BK36 | Programming | 2 | 12-03-2003 02:43 |
| Solution to Timing Loops | Steven Carmain | Programming | 39 | 10-02-2003 13:33 |
| Tranny help | Thunder360 | Motors | 4 | 04-02-2003 15:12 |
| How long should production time be??? | archiver | 1999 | 4 | 23-06-2002 23:16 |