Skip to content

Commit d37cfa1

Browse files
committed
add buttonpin
1 parent aea8502 commit d37cfa1

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

ports/espressif/boards/adafruit_esp32s2_camera/pins.c

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

3737
{ MP_ROM_QSTR(MP_QSTR_SPEAKER), MP_ROM_PTR(&pin_GPIO45) },
3838

39+
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO0) },
3940
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO2) },
4041

4142
{ MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_GPIO17) },

0 commit comments

Comments
 (0)