|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
||||
|
||||
|
Re: Using While Statements
The robot will freeze because the loop interferes with the default 26 ms loop of the robot, causing the code error. As the robot's running its normal loop anyways, you should just be able to use an if statement, as the PWM value will last until the next refresh, and the condition will be re-evaluated.
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Filtering out Vibration while using a KOP Accelerometer | joshyboy9987 | Electrical | 31 | 22-01-2008 08:20 |
| impossible statements | Dan Zollman | Math and Science | 28 | 20-08-2005 18:34 |
| Conditional #define Statements | Ian W. | Programming | 3 | 14-02-2004 18:14 |
| Contradictory FIRST Statements | Gobiner | Rules/Strategy | 10 | 14-01-2003 16:12 |
| Else Statements!!! | Adam Shapiro | Programming | 9 | 22-12-2002 01:27 |