Quote:
Originally Posted by ProgrammerMatt
The encoder class works with both i belive..
if so
Code:
Encoder myencoder = new Encoder(#);
myencoder.getRate();
the the rate works off ticks per secound you need to scale it down.
|
No, I think Joe is right. The Encoder class is for quadrature encoders which use two signals, and this encoder the OP is trying to use only has one signal and if I'm not mistaken produces a different type of signal (the way it counts rotation is different). It's unfortunate that there's no built-in FRC class for those encoders though.