I've been looking into libraries that read CPPM signals that I can use on my Arduino Pro Micro, and this one looked promising (github.com/jmparatte/CPPM) until I read that it only works on Atmega328P chips. Sure enough, I tried it, and it doesn't function on the Pro Micro as it does on my Arduino Uno. Why is this the case, i.e. what does it have that the Atmega32u4 doesn't?
This library works only on ATmega328 implementation of Arduino UNO, Duemillanove and similar, also Leonardo. It uses the 16bit Timer1. So PWM analogWrite() on pin 9 and 10 are unavailable. The library Servo is not compatible because it also uses Timer1.
I tried to do some research on my own, to no avail:
Timer1isn't specific to 328P, 32u4 has it
- For all I can tell, there isn't any difference in the interrupt capabilities of the 32u4...
TCNTare, again, features that the 32u4 has
- My signal is connected to the
OC1Apin that is used as the CPPM source (pin 9,
I'm new to this kind of thing and really stumped as to what could be the issue here.