|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
encoder code for 18f8520
hi guys,
im using first 18f8520 and i need to read a encoder. my encoder have 90 slits on it. can eneyone help me with the code? thanks ![]() |
|
#2
|
|||||
|
|||||
|
Re: encoder code for 18f8520
Take a look at: http://kevin.org/frc/2005/frc_encoder.zip
Kevin Watson did an example of a quadrature encoder. If you have a single phase wire coming out of your Vex encoder (new ones are quad encoders, old ones are single phase) then you can still use this, but it will only count up. |
|
#3
|
|||
|
|||
|
Re: encoder code for 18f8520
thanks
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Encoder Code | dboisvert | C/C++ | 11 | 20-01-2011 18:57 |
| Encoder Code | Kevin Watson | Programming | 47 | 18-02-2008 12:56 |
| Gear encoder code | Demothesis | Programming | 8 | 20-07-2007 17:15 |
| Vex Encoder Code | CircularLogic | FIRST Tech Challenge | 7 | 09-08-2006 22:12 |
| Updated Encoder Code Available | Kevin Watson | Programming | 2 | 04-01-2005 01:00 |