diff options
Diffstat (limited to 'usb-fastled')
-rw-r--r-- | usb-fastled/Makefile | 3 | ||||
-rw-r--r-- | usb-fastled/usb-fastled.cpp | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/usb-fastled/Makefile b/usb-fastled/Makefile index fc7a0b3..e660cb3 100644 --- a/usb-fastled/Makefile +++ b/usb-fastled/Makefile @@ -21,7 +21,7 @@ ## NAME := usb-fastled -BOARD_TYPE := teensy2 +BOARD_TYPE := minimus32 CXX_OBJ := $(NAME).o LIBS := util led lufa-descriptor-usbserial usbio CXX_LIBS := arduino-stub @@ -31,7 +31,6 @@ RESET_FUNC := $(SPREADAVR_PATH)/tools/reset_lufa_cdc_nowait RESET_PARAM := '!' FASTLED_PATH := $(SPREADAVR_PATH)/contrib/FastLED-3.1.0 -FASTLED_OPTS := -DCORE_TEENSY LUFA_PATH := $(SPREADAVR_PATH)/contrib/lufa-LUFA-151115 LUFA_OPTS = -D USB_DEVICE_ONLY diff --git a/usb-fastled/usb-fastled.cpp b/usb-fastled/usb-fastled.cpp index a0fcc75..2868ecd 100644 --- a/usb-fastled/usb-fastled.cpp +++ b/usb-fastled/usb-fastled.cpp @@ -42,8 +42,8 @@ // For led chips like Neopixels, which have a data line, ground, and power, you just // need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock, // ground, and power), like the LPD8806 define both DATA_PIN and CLOCK_PIN -#define DATA_PIN 23 // PD5 @ Atmega32U4 -#define CLOCK_PIN 2 // PD1 @ Atmega32U4 +#define DATA_PIN 1 +#define CLOCK_PIN 2 // Define the array of leds CRGB leds[NUM_LEDS]; |