|
Re: Problem using VEX shaft encoder
There are easier options. You could upgrade to the latest version of Easy_c and use the vex encoder block. If you want to use MPLAB and code in c you could take advantage of a function library Called WPLIB. Look under the easy-c intelitek sub forums. In the library there are functions for many of the sensors you can use for vex and FRC. This way you can concentrate on the robots action and not get buried and bogged down with low level routines. After you have increased your programming skills, revisit interrupts, counters and timers by studying Kevin Watson's Source code.
|