We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdd8ee9 commit 4a5f9f7Copy full SHA for 4a5f9f7
variants/qtpy_m0/variant.cpp
@@ -17,7 +17,7 @@
17
*/
18
19
#include "variant.h"
20
-
+#include "Arduino.h"
21
/*
22
* Pins descriptions
23
@@ -77,3 +77,10 @@ void SERCOM0_Handler()
77
Serial1.IrqHandler();
78
}
79
80
+void initVariant(void) {
81
+ // special initialization code just for us
82
+
83
+ // turn on neopixel
84
+ pinMode(12, OUTPUT);
85
+ digitalWrite(12, HIGH);
86
+}
variants/qtpy_m0/variant.h
@@ -80,6 +80,7 @@ extern "C"
#define PIN_LED_13 (13u)
#define PIN_LED PIN_LED_13
#define LED_BUILTIN PIN_LED_13
+#define PIN_NEOPIXEL (11u)
* Analog pins
0 commit comments