Skip to content

Commit 7d7986b

Browse files
committed
Add NEOPIXEL pin
Closes: #6307
1 parent bf0e1fa commit 7d7986b

File tree

1 file changed

+1
-0
lines changed
  • ports/raspberrypi/boards/pimoroni_servo2040

1 file changed

+1
-0
lines changed

ports/raspberrypi/boards/pimoroni_servo2040/pins.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
2323
{ MP_ROM_QSTR(MP_QSTR_SERVO_18), MP_ROM_PTR(&pin_GPIO17) },
2424
{ MP_ROM_QSTR(MP_QSTR_NUM_SERVOS), MP_ROM_INT(18) },
2525

26+
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO18) },
2627
{ MP_ROM_QSTR(MP_QSTR_LED_DATA), MP_ROM_PTR(&pin_GPIO18) },
2728
{ MP_ROM_QSTR(MP_QSTR_NUM_LEDS), MP_ROM_INT(6) },
2829

0 commit comments

Comments
 (0)