NeoSWSerial icon indicating copy to clipboard operation
NeoSWSerial copied to clipboard

Doesn't compile on ATmega32U4 (Arduino Pro Micro)

Open adienakhmad opened this issue 9 years ago • 6 comments

error: 'TCCR2A' was not declared in this scope error: 'TCCR2B' was not declared in this scope

adienakhmad avatar Aug 07 '16 17:08 adienakhmad

Confirmed.

SlashDevin avatar Aug 09 '16 02:08 SlashDevin

The 32u4 doesn't have a timer2. Could one of the other timers be used?

SRGDamia1 avatar May 13 '17 12:05 SRGDamia1

Yes, but I don't have time to work on this. Choosing the timer, clock scaler (from baud rate) and testing is what needs to be done. If you get something working, I'd be glad to fold it in!

SlashDevin avatar May 13 '17 16:05 SlashDevin

Somebody got it fixed?

StackerDEV avatar Aug 27 '18 19:08 StackerDEV

Can you perhaps remove ATmega32U4 (Micro, Leonardo) from the bottom of README.md, as it is a red herring that causes a lot of wasted time. We can add it back when this issue is fixed.

(I'll file a PR)

jpmeijers avatar Oct 11 '18 13:10 jpmeijers

Same problem. Please remove Micro from the supported boards block in README.MD

AKopytenko avatar Dec 03 '22 20:12 AKopytenko