Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Mooney <cmooney3@gmail.com>2019-10-21 01:44:56 +0300
committerCharlie Mooney <cmooney3@gmail.com>2019-10-21 01:44:56 +0300
commitbc273371fd28390906c7bee51ade27618d5a74d0 (patch)
treee5964e78c6438f95daa72fecff84a5c56b8e7c65
parent8b31b643e42d8a53a3df9abc96bf45f00adf52df (diff)
Add atmega16 support to fastpin_avr (Mightycore Arduino)
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>
-rw-r--r--platforms/avr/fastpin_avr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/avr/fastpin_avr.h b/platforms/avr/fastpin_avr.h
index 5b39aa09..956e00a9 100644
--- a/platforms/avr/fastpin_avr.h
+++ b/platforms/avr/fastpin_avr.h
@@ -215,7 +215,7 @@ _FL_DEFPIN(16, 2, C); _FL_DEFPIN(17, 3, C); _FL_DEFPIN(18, 4, C); _FL_DEFPIN(19,
#define SPI_UART0_CLOCK 4
#endif
-#elif defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega644P__) || defined(__AVR_ATmega32__)
+#elif defined(__AVR_ATmega1284P__) || defined(__AVR_ATmega644P__) || defined(__AVR_ATmega32__) || defined(__AVR_ATmega16__)
#define MAX_PIN 31
_FL_DEFPIN(0, 0, B); _FL_DEFPIN(1, 1, B); _FL_DEFPIN(2, 2, B); _FL_DEFPIN(3, 3, B);