|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
or, if you want something simpler, using the 2.5 code:
counter VAR WORD counter = 0 inside the do...loop: if counter++ > 500 then 'arbitrary time value p1_x = 254 else p1_x = 0 endif should go forward for 13000 milliseconds, then go backwards. change the 500 value up/down to have longer/shorter, it should incriment once every 26 ms (based on speeds of the default code) Tyson |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| autonomous mode problem on field | Chris_C | Programming | 17 | 26-03-2003 19:11 |
| Autonomous Code From Experience | EbonySeraphim | Programming | 7 | 14-03-2003 21:56 |
| Autonomous code tutorial | miketwalker | Programming | 2 | 23-02-2003 12:28 |
| Overcomplicated Autonomous Code | EbonySeraphim | Programming | 33 | 20-02-2003 21:53 |
| Autonomous Code | Adrian Wong | Robotics Education and Curriculum | 1 | 18-11-2002 22:34 |