|
Re: E4P encoder
We have A and B hooked up to the digital I/O pins. As far as programming goes, I used the Open Encoder.vi that came with the FRC tools in our Begin.vi. I hooked that to the StartEncoder block, then wired to a To Digital Source. I have the GetEncoder block in my teleop code, and I have a display off the encoder rate node. However, when we run the program and spin the shaft, we get no reading. I will upload a screenshot of the program and/or a photo of our wiring later today when our programming computer is available.
|