Hi, I was seeing some datasheets and pinouts and I remarked that the ATmega32U4 has up to 7 pwm pins (actually 8?) and also that they seem to have different resolutions from 8 to 16 bits.
So the here are the questions:
- are the 8 pwm pins usable from the arduino core/IDE? Or just 7?
- from the arduino IDE how can one access to the different pwm resolutions? I found for other cards analogwriteresolution () function but the micro doesn't appear on the references.
- not that I have a plan to use it right now, but for plain curiosity, since some of the pwm capable pins seem to have ADC as well, would it be possible to toogle between PWM and analogread?