Skip to content

Commit 23b2427

Browse files
authored
Merge pull request #5465 from melopero/main
Added D17/Battery Pin definition to melopero shake rp2040
2 parents 0df6146 + 45600b1 commit 23b2427

File tree

1 file changed

+4
-0
lines changed
  • ports/raspberrypi/boards/melopero_shake_rp2040

1 file changed

+4
-0
lines changed

ports/raspberrypi/boards/melopero_shake_rp2040/pins.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
2525
{ MP_ROM_QSTR(MP_QSTR_D11), MP_ROM_PTR(&pin_GPIO11) },
2626
{ MP_ROM_QSTR(MP_QSTR_D12), MP_ROM_PTR(&pin_GPIO12) },
2727
{ MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_PTR(&pin_GPIO13) },
28+
{ MP_ROM_QSTR(MP_QSTR_D17), MP_ROM_PTR(&pin_GPIO17) },
29+
30+
{ MP_ROM_QSTR(MP_QSTR_BATTERY), MP_ROM_PTR(&pin_GPIO17) },
31+
2832
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO13) },
2933

3034
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO16) },

0 commit comments

Comments
 (0)