File tree 4 files changed +7
-6
lines changed
variants/adafruit_metro_esp32s3
4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 14
14
#define BUILTIN_LED LED_BUILTIN // backward compatibility
15
15
16
16
// Neopixel
17
- #define PIN_NEOPIXEL 45
17
+ #define PIN_NEOPIXEL 46
18
18
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API neopixelWrite() and digitalWrite() for blinking
19
19
#define RGB_BUILTIN (PIN_NEOPIXEL+SOC_GPIO_PIN_COUNT)
20
20
#define RGB_BRIGHTNESS 64
@@ -31,10 +31,10 @@ static const uint8_t RX = 41;
31
31
static const uint8_t SDA = 47 ;
32
32
static const uint8_t SCL = 48 ;
33
33
34
- static const uint8_t SS = 21 ;
35
- static const uint8_t MOSI = 35 ;
36
- static const uint8_t SCK = 36 ;
37
- static const uint8_t MISO = 37 ;
34
+ static const uint8_t SS = 45 ;
35
+ static const uint8_t MOSI = 42 ;
36
+ static const uint8_t SCK = 39 ;
37
+ static const uint8_t MISO = 21 ;
38
38
39
39
static const uint8_t A0 = 14 ;
40
40
static const uint8_t A1 = 15 ;
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ extern "C" {
30
30
31
31
// Initialize variant/board, called before setup()
32
32
void initVariant (void ) {
33
- // default SD_CS to input pullup
33
+ // default SD_CS to input pullup (we cannot have built in pullup since its
34
+ // a strapping pin!)
34
35
pinMode (SS, INPUT_PULLUP);
35
36
}
36
37
You can’t perform that action at this time.
0 commit comments