From 22eeed2da121c9119441c619fe2594b73e8e032b Mon Sep 17 00:00:00 2001 From: sago35 Date: Sun, 30 May 2021 11:43:16 +0900 Subject: [PATCH] qtpy: add pin for neopixels --- Makefile | 2 +- src/machine/board_qtpy.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index da699cc3..0d731774 100644 --- a/Makefile +++ b/Makefile @@ -336,7 +336,7 @@ smoketest: @$(MD5SUM) test.hex $(TINYGO) build -size short -o test.hex -target=itsybitsy-nrf52840 examples/blinky1 @$(MD5SUM) test.hex - $(TINYGO) build -size short -o test.hex -target=qtpy examples/blinky1 + $(TINYGO) build -size short -o test.hex -target=qtpy examples/serial @$(MD5SUM) test.hex $(TINYGO) build -size short -o test.hex -target=teensy40 examples/blinky1 @$(MD5SUM) test.hex diff --git a/src/machine/board_qtpy.go b/src/machine/board_qtpy.go index 23c7beca..b17e8070 100644 --- a/src/machine/board_qtpy.go +++ b/src/machine/board_qtpy.go @@ -42,7 +42,8 @@ const ( ) const ( - LED = D13 + NEOPIXELS = D11 + NEOPIXELS_POWER = D12 ) // USBCDC pins