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 4eff7f9 commit 6c38865Copy full SHA for 6c38865
variants/m5stack_atoms3/pins_arduino.h
@@ -7,10 +7,10 @@
7
#define USB_VID 0x303a
8
#define USB_PID 0x1001
9
10
-// Some boards have too low voltage on this pin (board design bug)
11
-// Use different pin with 3V and connect with 48
12
-// and change this setup for the chosen pin (for example 38)
13
-static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT + 48;
+// The board RGB led is connected to GPIO #35
+#define PIN_RGB_LED 35
+// BUILTIN_LED can be used in new Arduino API digitalWrite() like in Blink.ino
+static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT + PIN_RGB_LED;
14
#define BUILTIN_LED LED_BUILTIN // backward compatibility
15
#define LED_BUILTIN LED_BUILTIN
16
#define RGB_BUILTIN LED_BUILTIN
0 commit comments