|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#5
|
|||
|
|||
|
Re: wiring and programing our optical encoders
hmm i wonder if it is somthing am doing wrong then
this is how i stated my code: I state this inside my main class Encoder encoder(1, 2, true); and then in my teleop loop I say float tick = encoder.GetDistance() ; printf("tick:%4.2f /n",tick ); and what i am getting is tick: tick: tick: .... and when I move my gear box i get no input now i did noticed there is a spot for a jumper on the digital side car on the digital input sides do i need to put a jumper in there. the probem when i do that everything become nonresponsive until i remove it so does anybody know what am i doing wrong |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programing+encoders =? | alaskabas | Programming | 2 | 24-02-2009 20:41 |
| Wiring Gyros and Encoders? | SuspectZero | Electrical | 3 | 03-02-2008 15:30 |
| programing the vex optical shaft encoder | youngWilliam14 | Programming | 10 | 11-11-2007 16:16 |
| Optical Encoders | misterikkit | Robotics Education and Curriculum | 7 | 22-12-2003 23:13 |
| Programming Optical Encoders | GrahamS314 | Programming | 5 | 09-03-2003 08:16 |