Skip to content

Commit d7ef8f1

Browse files
author
Rick Sorensen
committed
pins.c: added comment of reverse wiring for XIAO LEDs
1 parent 36a2780 commit d7ef8f1

File tree

1 file changed

+2
-1
lines changed
  • ports/atmel-samd/boards/seeeduino_xiao

1 file changed

+2
-1
lines changed

ports/atmel-samd/boards/seeeduino_xiao/pins.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
4444
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_PA09) },
4545
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_PA08) },
4646

47-
// LED pins
47+
// LED pins ... note XIAO is wired so high/1/True turns LED OFF
48+
// low/0/False turns LED ON
4849
// duplicate names for test LED ... see D13
4950
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_PA17) }, //
5051
{ MP_ROM_QSTR(MP_QSTR_YELLOW_LED), MP_ROM_PTR(&pin_PA17) },

0 commit comments

Comments
 (0)