8000 Add user LED to pins.c · unwiredben/circuitpython@fa6a25e · GitHub
[go: up one dir, main page]

Skip to content

Commit fa6a25e

Browse files
authored
Add user LED to pins.c
Seeed Xiao ESP32-C6 has an LED on GPIO15 for general use in user programs. Commonly these LEDs are defined for the board. So would be good to add this LED pin definition. Schematic showing LED connected to GPIO15 (sheet4, zone D2) - https://files.seeedstudio.com/wiki/SeeedStudio-XIAO-ESP32C6/XIAO-ESP32-C6_v1.0_SCH_PDF_24028.pdf
1 parent 670d046 commit fa6a25e

File tree

1 file changed

+2
-0
lines changed
  • ports/espressif/boards/seeed_xiao_esp32c6

1 file changed

+2
-0
lines changed

ports/espressif/boards/seeed_xiao_esp32c6/pins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
4747
{ MP_ROM_QSTR(MP_QSTR_MTCK), MP_ROM_PTR(&pin_GPIO6) },
4848
{ MP_ROM_QSTR(MP_QSTR_LP_I2C_SDA), MP_ROM_PTR(&pin_GPIO6) },
4949

50+
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO15) },
51+
5052
{ MP_ROM_QSTR(MP_QSTR_MTDO), MP_ROM_PTR(&pin_GPIO7) },
5153
{ MP_ROM_QSTR(MP_QSTR_LP_I2C_SCL), MP_ROM_PTR(&pin_GPIO7) },
5254

0 commit comments

Comments
 (0)
0