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:
authorJon Swope <jon@swo.pe>2018-08-27 02:44:27 +0300
committerDaniel Garcia <danielgarcia@gmail.com>2018-08-27 02:44:27 +0300
commit84d984be2561fed8b3ae31e1afe139eb33ea5c7f (patch)
treee4d644046311f548e14965e36a12f741afb449e0
parentde4594bbe03fe57042dce2138c2c95acc7024078 (diff)
Allow control of the built in Dotstar on the Gemma M0 (#607)
-rw-r--r--platforms/arm/d21/fastpin_arm_d21.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/platforms/arm/d21/fastpin_arm_d21.h b/platforms/arm/d21/fastpin_arm_d21.h
index 1e41ddc9..90b0d9fe 100644
--- a/platforms/arm/d21/fastpin_arm_d21.h
+++ b/platforms/arm/d21/fastpin_arm_d21.h
@@ -147,8 +147,9 @@ _DEFPIN_ARM( 20, 0, 6); _DEFPIN_ARM( 21, 0, 7);
#elif defined(ARDUINO_GEMMA_M0)
-#define MAX_PIN 3
-_DEFPIN_ARM( 0, 0, 4); _DEFPIN_ARM( 1, 0, 2); _DEFPIN_ARM( 2, 0, 5);
+#define MAX_PIN 4
+_DEFPIN_ARM( 0, 0, 4); _DEFPIN_ARM( 1, 0, 2); _DEFPIN_ARM( 2, 0, 5);
+_DEFPIN_ARM( 3, 0, 0); _DEFPIN_ARM( 4, 0, 1);
#define HAS_HARDWARE_PIN_SUPPORT 1