Skip to content

Commit afffaf2

Browse files
author
Francis Duvivier
committed
update pins_arduino.h fro fri3d_2024_esp32s3
1 parent 1a76a9c commit afffaf2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

variants/fri3d_2024_esp32s3/pins_arduino.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// Some boards have too low voltage on this pin (board design bug)
1515
// Use different pin with 3V and connect with 48
1616
// and change this setup for the chosen pin (for example 38)
17-
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+48;
17+
static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+7;
1818
#define BUILTIN_LED LED_BUILTIN // backward compatibility
1919
#define LED_BUILTIN LED_BUILTIN
2020
#define RGB_BUILTIN LED_BUILTIN
@@ -27,13 +27,13 @@ static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+48;
2727
static const uint8_t TX = 43;
2828
static const uint8_t RX = 44;
2929

30-
static const uint8_t SDA = 8;
31-
static const uint8_t SCL = 9;
30+
static const uint8_t SDA = 9;
31+
static const uint8_t SCL = 18;
3232

33-
static const uint8_t SS = 10;
34-
static const uint8_t MOSI = 11;
35-
static const uint8_t MISO = 13;
36-
static const uint8_t SCK = 12;
33+
static const uint8_t SS = 14;
34+
static const uint8_t MOSI = 6;
35+
static const uint8_t MISO = 8;
36+
static const uint8_t SCK = 7;
3737

3838
static const uint8_t A0 = 1;
3939
static const uint8_t A1 = 2;

0 commit comments

Comments
 (0)