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 51ce37d commit 1e363b7Copy full SHA for 1e363b7
libraries/ESP32/examples/GPIO/BlinkRGB/BlinkRGB.ino
@@ -20,7 +20,8 @@ void setup() {
20
}
21
22
// the loop function runs over and over again forever
23
-void loop() {
+void loop() {
24
+#ifdef BOARD_HAS_NEOPIXEL
25
digitalWrite(LED_BUILTIN, HIGH); // Turn the RGB LED white
26
delay(1000);
27
log_w("LED LOW");
@@ -35,4 +36,5 @@ void loop() {
35
36
37
RGBLedWrite(LED_BUILTIN,0,0,0); // Off / black
38
39
+#endif
40
0 commit comments