|
Re: Encoder Problem.
Try changing "TestEnc" to "testEnc". You're not supposed to capitalize variable names.
If that doesn't work: - Check the output of getRaw().
- Make sure there's a codewheel on the shaft you're rotating, and make sure that the codewheel has lines for the encoder to read. Improper installation can result in the codewheel's markings getting scratched off, which will wreak havoc on your encoder's readout.
__________________
2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
|