|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
|||
|
|||
|
Re: encoder vs. motor
can you look at this and tell me if you see any errors.
Code:
//the encoder is at 50 resolution //the arm motor is attatched to pwm_02 //the encoder is attatched to rc_dig_in06 unsigned int encoder; if (p2_sw_trig == 1) pwm_02 = 220; if (rc_dig_in06 == 1) encoder = encoder + 1; if (encoder == 11) pwm_02 = 128; |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [OCCRA]: motor brush springs | greencactus3 | OCCRA Q&A | 1 | 28-09-2004 20:56 |
| Multiple Motors | phrontist | Motors | 12 | 21-06-2004 23:05 |
| Mounting the drill motor | Veselin Kolev | Motors | 11 | 26-04-2004 14:27 |
| WHich motor to lift and for arm | thoughtful | Motors | 8 | 25-02-2004 10:34 |
| Thermal Protection | archiver | 2000 | 1 | 23-06-2002 23:27 |