[fix included] mega and leonardo not supported
Opened this issue · 0 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. make a sketch that uses pins 11 on mega.
2. Registers fail to setup (PORTB1 instead of PORTB5)
3. fails to get pwm on pin 11.
Included is a fix for Timer1.cpp that remaps the pins and ports according to
the mcu.
It now works on mega and leonardo hardware.
Thank you,
Charles
Original issue reported on code.google.com by charlesg...@gmail.com
on 21 Jul 2013 at 1:01
Attachments: