Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/Cylon/Cylon.ino2
-rw-r--r--platforms/arm/nrf51/led_sysdefs_arm_nrf51.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/Cylon/Cylon.ino b/examples/Cylon/Cylon.ino
index 288d3ee8..e484adb3 100644
--- a/examples/Cylon/Cylon.ino
+++ b/examples/Cylon/Cylon.ino
@@ -15,7 +15,7 @@ CRGB leds[NUM_LEDS];
void setup() {
Serial.begin(57600);
Serial.println("resetting");
- LEDS.addLeds<APA102,2,1,RGB>(leds,NUM_LEDS);
+ LEDS.addLeds<WS2812,2,RGB>(leds,NUM_LEDS);
LEDS.setBrightness(84);
}
diff --git a/platforms/arm/nrf51/led_sysdefs_arm_nrf51.h b/platforms/arm/nrf51/led_sysdefs_arm_nrf51.h
index 336d4b73..bfe984d8 100644
--- a/platforms/arm/nrf51/led_sysdefs_arm_nrf51.h
+++ b/platforms/arm/nrf51/led_sysdefs_arm_nrf51.h
@@ -7,6 +7,7 @@
#define LED_TIMER NRF_TIMER1
#define FASTLED_NO_PINMAP
+#define FASTLED_HAS_CLOCKLESS
#define FASTLED_ARM