Skip to content

Commit 14b604f

Browse files
Add LED pin definition to Zero 2W board
1 parent 2875693 commit 14b604f

File tree

1 file changed

+1
-0
lines changed
  • ports/broadcom/boards/raspberrypi_zero2w

1 file changed

+1
-0
lines changed

ports/broadcom/boards/raspberrypi_zero2w/pins.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
5555
{ MP_ROM_QSTR(MP_QSTR_D25), MP_ROM_PTR(&pin_GPIO25) },
5656
{ MP_ROM_QSTR(MP_QSTR_D26), MP_ROM_PTR(&pin_GPIO26) },
5757
{ MP_ROM_QSTR(MP_QSTR_D27), MP_ROM_PTR(&pin_GPIO27) },
58+
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO29) },
5859

5960
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
6061
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display)},

0 commit comments

Comments
 (0)