8000 Update Pins_Arduino.h · LokiMetaSmith/arduino-esp32@c876a3b · GitHub
[go: up one dir, main page]

Skip to content

Commit c876a3b

Browse files
Update Pins_Arduino.h
1 parent 1b1acb5 commit c876a3b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

variants/amox_ion_esp32c3/Pins_Arduino.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
#define LED_BUILTIN 17
1616
#define BUILTIN_LED LED_BUILTIN // backward compatibility
1717

18-
#define PIN_NEOPIXEL 18
19-
#define NEOPIXEL_PIN 18
20-
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API rgbLedWrite() and digitalWrite() for blinking
21-
#define RGB_BUILTIN (PIN_NEOPIXEL + SOC_GPIO_PIN_COUNT)
18+
// Some boards have too low voltage on this pin (board design bug)
19+
// Use different pin with 3V and connect with 48
20+
// and change this setup for the chosen pin (for example 38)
21+
#define PIN_RGB_LED 18
22+
// BUILTIN_LED can be used in new Arduino API digitalWrite() like in Blink.ino
23+
#define RGB_BUILTIN PIN_RGB_LED
2224
#define RGB_BRIGHTNESS 64
2325

24-
#define NEOPIXEL_NUM 1
25-
2626
#define TC_SO 48
2727

2828

0 commit comments

Comments
 (0)
0