Skip to content

Commit e79e04c

Browse files
committed
add board.BUTTON pin assignment (thanks @RetiredWizard )
1 parent ee3e0a2 commit e79e04c

File tree

1 file changed

+1
-0
lines changed
  • ports/espressif/boards/waveshare_esp32_s3_geek

1 file changed

+1
-0
lines changed

ports/espressif/boards/waveshare_esp32_s3_geek/pins.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
66

77
// Boot button (can also be used as regular button)
88
{ MP_ROM_QSTR(MP_QSTR_IO0), MP_ROM_PTR(&pin_GPIO0) },
9+
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO0) },
910
// GPIO
1011
{ MP_ROM_QSTR(MP_QSTR_IO6), MP_ROM_PTR(&pin_GPIO6) },
1112
// 7-12 LCD

0 commit comments

Comments
 (0)