How do i wire and code the digital encoders from the KOP to work on the robot? I am using C++.
wire: Channel A and Channel B each go a DIO. see this document: http://usdigital.com/first
code: there’s an Encoder class in the WPI library that came with the C++ installation.
The AndyMark toughboxes that we are using do not have holders for the screws on the quadrature encoder. How would I wire the AS5030 - Rotary Magnetic Encoder and reference it in C++?
See this item for the E4P.
Search the forums; there have been a number of recent posts explaining how to wire and mount the AS5030.