Skip to content

Commit cc9e8b3

Browse files
authored
Merge pull request #8747 from carson-coder/add-ir-pin
Add Led_IR pin name to ATOM Lite
2 parents 2d1f334 + b42b573 commit cc9e8b3

File tree

1 file changed

+3
-0
lines changed
  • ports/espressif/boards/m5stack_atom_lite

1 file changed

+3
-0
lines changed

ports/espressif/boards/m5stack_atom_lite/pins.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
2020
{ MP_ROM_QSTR(MP_QSTR_D33), MP_ROM_PTR(&pin_GPIO33) },
2121
{ MP_ROM_QSTR(MP_QSTR_A33), MP_ROM_PTR(&pin_GPIO33) },
2222

23+
{ MP_ROM_QSTR(MP_QSTR_IR), MP_ROM_PTR(&pin_GPIO12) },
24+
{ MP_ROM_QSTR(MP_QSTR_D12), MP_ROM_PTR(&pin_GPIO12) },
25+
2326
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_GPIO21) },
2427
{ MP_ROM_QSTR(MP_QSTR_D21), MP_ROM_PTR(&pin_GPIO21) },
2528

0 commit comments

Comments
 (0)