|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#7
|
|||
|
|||
|
Re: Lowering the voltage on a spike
For your own sanity, please don't just say 'pwm01 = 155; // slow forward.'
do this instead: Code:
#define DRIVE_SLOW_FWD 155 #define DRIVE_SLOW_REV 99 // other code... pwm01 = DRIVE_SLOW_FWD; for two, if you ever want to change the value, you don't have to find'n'replace 155 But, to allow you to save face, I'm going to assume that you replaced your #define or equivalent with 155 when you pasted for clarity. This comment was directed toward new programmers. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is best for lowering the middle wheel? | Jeff K. | Technical Discussion | 9 | 28-01-2006 12:49 |
| Lowering the Bar? | Aignam | Regional Competitions | 4 | 07-03-2004 23:13 |
| Raising the bar...or lowering it? | Ben Mitchell | General Forum | 29 | 13-01-2004 03:30 |
| Problem with Lowering the Bar | Kevin Kolodziej | General Forum | 14 | 12-01-2004 21:58 |
| Voltage Byte -> True Voltage | Ulibrium | Technical Discussion | 11 | 01-03-2002 08:55 |