summaryrefslogtreecommitdiff
path: root/usb-fastled
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2016-06-03 02:32:40 +0200
committerChristian Pointner <equinox@spreadspace.org>2016-06-03 02:32:40 +0200
commitf4050e53de1ba899dcdb75d9cb63a95b46063314 (patch)
tree250386fe83bb462aa2ff5eb030c02d39d703f7c3 /usb-fastled
parentbmp180 pressure sensor, just lacks arduino i2c-wire-lib and testing (diff)
fastled now works on mimimus32
Diffstat (limited to 'usb-fastled')
-rw-r--r--usb-fastled/Makefile3
-rw-r--r--usb-fastled/usb-fastled.cpp4
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];