PaulStoffregen / TimerOne

TimerOne Library with optimization and expanded hardware support
http://www.pjrc.com/teensy/td_libs_TimerOne.html
470 stars 209 forks source link

PWM on Arduino Micro? #21

Closed dmemphis closed 7 years ago

dmemphis commented 7 years ago

On Arduino Micro: Basic timer invocation of attached routine seems fine. Controlling PWM isn't working. Can't make the pins change value. Isn't this supposed to be like Leonardo?

dmemphis commented 7 years ago

FYI - using pins 9,10,11

dmemphis commented 7 years ago

FYI- 9,10 are working, 11 is not. Suspect the lib thinks its on an UNO / 328P IC?

dmemphis commented 7 years ago

FYI: __AVR_ATmega32U4__ is not defined.

dmemphis commented 7 years ago

Never mind. It might have been operator error or the 1.6.7 IDE versions. I managed to upgrade to 1.8.0. Now I have pin 11 working.