Skip to content

Commit 3fce284

Browse files
changing PT to LIGHT
1 parent 7c2657b commit 3fce284

File tree

1 file changed

+1
-1
lines changed
  • ports/espressif/boards/barduino

1 file changed

+1
-1
lines changed

ports/espressif/boards/barduino/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
1515
{ MP_ROM_QSTR(MP_QSTR_IO1), MP_ROM_PTR(&pin_GPIO1) },
1616
{ MP_ROM_QSTR(MP_QSTR_IO2), MP_ROM_PTR(&pin_GPIO2) },
1717

18-
{ MP_ROM_QSTR(MP_QSTR_PT), MP_ROM_PTR(&pin_GPIO3) }, // PT = phototransistor
18+
{ MP_ROM_QSTR(MP_QSTR_LIGHT), MP_ROM_PTR(&pin_GPIO3) },
1919
{ MP_ROM_QSTR(MP_QSTR_IO3), MP_ROM_PTR(&pin_GPIO3) },
2020

2121
{ MP_ROM_QSTR(MP_QSTR_IO4), MP_ROM_PTR(&pin_GPIO4) },

0 commit comments

Comments
 (0)