Skip to content

Commit b64ec36

Browse files
committed
Using GP0 as default LED pin.
1 parent 0034472 commit b64ec36

File tree

1 file changed

+3
-1
lines changed
  • ports/raspberrypi/boards/cytron_maker_pi_rp2040

1 file changed

+3
-1
lines changed

ports/raspberrypi/boards/cytron_maker_pi_rp2040/pins.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
44
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
5-
5+
6+
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO0) },
67
{ MP_ROM_QSTR(MP_QSTR_GP0), MP_ROM_PTR(&pin_GPIO0) },
8+
79
{ MP_ROM_QSTR(MP_QSTR_GP1), MP_ROM_PTR(&pin_GPIO1) },
810
{ MP_ROM_QSTR(MP_QSTR_GP2), MP_ROM_PTR(&pin_GPIO2) },
911
{ MP_ROM_QSTR(MP_QSTR_GP3), MP_ROM_PTR(&pin_GPIO3) },

0 commit comments

Comments
 (0)