Skip to content

Commit 6bbc73c

Browse files
committed
fix neopixel pins
1 parent 09ae354 commit 6bbc73c

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed
Binary file not shown.

variants/adafruit_camera_esp32s3/pins_arduino.h

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,23 @@
1919
#define digitalPinToInterrupt(p) (((p)<48)?(p):-1)
2020
#define digitalPinHasPWM(p) (p < 46)
2121

22-
#define LED_BUILTIN 1
22+
static const uint8_t PIN_NEOPIXEL = 1;
23+
static const uint8_t NEOPIXEL_PIN = 1;
2324

24-
static const uint8_t PIN_NEOPIXEL = 21;
25-
26-
static const uint8_t TFT_BACKLIGHT = 41;
25+
//static const uint8_t TFT_BACKLIGHT = 41;
2726
static const uint8_t TFT_DC = 40;
2827
static const uint8_t TFT_CS = 39;
2928
static const uint8_t TFT_RESET = 38;
3029
static const uint8_t TFT_RST = 38;
3130

32-
static const uint8_t SD_CS = 2;
33-
static const uint8_t SD_CHIP_SELECT = 2;
34-
static const uint8_t SPEAKER = 45;
31+
static const uint8_t SD_CS = 48;
32+
static const uint8_t SD_CHIP_SELECT = 48;
33+
static const uint8_t SPEAKER = 41;
3534

3635
static const uint8_t SDA = 33;
3736
static const uint8_t SCL = 34;
3837

39-
static const uint8_t SS = 39;
38+
static const uint8_t SS = 48;
4039
static const uint8_t MOSI = 35;
4140
static const uint8_t SCK = 36;
4241
static const uint8_t MISO = 37;
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)