Skip to content

Commit 8feaec4

Browse files
authored
Merge pull request #9087 from RetiredWizard/itsybitsy
ItsyBitsy ESP32 Neopixel Pin/Power GPIO number fix
2 parents e72f429 + 2e3baca commit 8feaec4

File tree

1 file changed

+2
-2
lines changed
  • ports/espressif/boards/adafruit_itsybitsy_esp32

1 file changed

+2
-2
lines changed

ports/espressif/boards/adafruit_itsybitsy_esp32/pins.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
3131
{ MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_PTR(&pin_GPIO13) },
3232
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO13) },
3333

34-
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO17) },
35-
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL_POWER), MP_ROM_PTR(&pin_GPIO16) },
34+
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO0) },
35+
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL_POWER), MP_ROM_PTR(&pin_GPIO2) },
3636
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO35) },
3737

3838
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },

0 commit comments

Comments
 (0)