Arduino Mega (ATMEGA2560) and AVR Library


I’d like to use Pololu wheel encoders with an Arduino MEGA but it doesn’t look like the atmega2560 is among the chips supported in the AVR Library. Would this be hard to do? Among the source code for the implemented chips, which should I start with?


Hello, Peter.

Our wheel encoder library does not support the Atmega2560 at this time. It is probably possible to modify it to work with the Arduino Mega. If you are still interested in modifying our AVR library version of the quadrature encoders, you can post your modified code here, and I would be happy to take a look at it.

- Jeremy