Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Atmega16 support to fastpin_avr.h (Mightycore Arduino) #907

Conversation

@cmooney3
Copy link
Contributor

cmooney3 commented Oct 23, 2019

The atmega16 has the same pinout at the atmega32 when using the MightyCore board
in arduino.

The pinout according to the Mightcore documentation can be seen here:
image

This commit just adds __AVR_ATmega16__ to the macro in fastpin_avr.h so it builds with the atmega16 target.

It seems like this should be a safe change, but I'm not 100% sure this is how it should be done. However, I tested this on my Atmega16 board, and appears to work like a charm so I figured it was worth tossing a PR out incase it can help other people :)

Signed-off-by: Charlie Mooney cmooney3@gmail.com

The Atmega16 has the same pinout at the Atmega32 when using the MightyCore board
in arduino.  This commit just adds it to fastpin_avr.

Tested on my Atmega16 board, and appears to work like a charm

Signed-off-by: Charlie Mooney <cmooney3@gmail.com>
@kriegsman kriegsman merged commit e559fcd into FastLED:master Jan 4, 2020
@kriegsman

This comment has been minimized.

Copy link
Member

kriegsman commented Jan 4, 2020

Thank you for the PR, and for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.