Skip to content

Commit

Permalink
Merge pull request #6333 from todbot/main
Browse files Browse the repository at this point in the history
fix qtpy_esp32s3_nopsram neopixel pins
  • Loading branch information
ladyada authored May 2, 2022
2 parents 8beb908 + 7e622c3 commit bf0e1fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
#define MICROPY_HW_BOARD_NAME "Adafruit QT Py ESP32-S3 no psram"
#define MICROPY_HW_MCU_NAME "ESP32S3"

#define MICROPY_HW_NEOPIXEL (&pin_GPIO38)
#define CIRCUITPY_STATUS_LED_POWER (&pin_GPIO37)
#define MICROPY_HW_NEOPIXEL (&pin_GPIO39)
#define CIRCUITPY_STATUS_LED_POWER (&pin_GPIO38)

#define CIRCUITPY_BOARD_I2C (2)
#define CIRCUITPY_BOARD_I2C_PIN {{.scl = &pin_GPIO6, .sda = &pin_GPIO7}, \
Expand Down
4 changes: 2 additions & 2 deletions ports/espressif/boards/adafruit_qtpy_esp32s3_nopsram/pins.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_GPIO36) },
{ MP_ROM_QSTR(MP_QSTR_D36), MP_ROM_PTR(&pin_GPIO36) },

{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL_POWER), MP_ROM_PTR(&pin_GPIO37) },
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO38) },
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL_POWER), MP_ROM_PTR(&pin_GPIO38) },
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO39) },

{ MP_ROM_QSTR(MP_QSTR_SCL1), MP_ROM_PTR(&pin_GPIO40) },
{ MP_ROM_QSTR(MP_QSTR_D40), MP_ROM_PTR(&pin_GPIO40) },
Expand Down

0 comments on commit bf0e1fa

Please sign in to comment.