Skip to content

Commit

Permalink
Using GP0 as default LED pin.
Browse files Browse the repository at this point in the history
  • Loading branch information
waiweng83 committed Nov 1, 2021
1 parent 0034472 commit b64ec36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ports/raspberrypi/boards/cytron_maker_pi_rp2040/pins.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS


{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO0) },
{ MP_ROM_QSTR(MP_QSTR_GP0), MP_ROM_PTR(&pin_GPIO0) },

{ MP_ROM_QSTR(MP_QSTR_GP1), MP_ROM_PTR(&pin_GPIO1) },
{ MP_ROM_QSTR(MP_QSTR_GP2), MP_ROM_PTR(&pin_GPIO2) },
{ MP_ROM_QSTR(MP_QSTR_GP3), MP_ROM_PTR(&pin_GPIO3) },
Expand Down

0 comments on commit b64ec36

Please sign in to comment.