diff options
Diffstat (limited to 'examples/Multiple')
-rw-r--r-- | examples/Multiple/OctoWS2811Demo/OctoWS2811Demo.ino | 8 | ||||
-rw-r--r-- | examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino | 14 |
2 files changed, 11 insertions, 11 deletions
diff --git a/examples/Multiple/OctoWS2811Demo/OctoWS2811Demo.ino b/examples/Multiple/OctoWS2811Demo/OctoWS2811Demo.ino index d8d73fe2..68190fe4 100644 --- a/examples/Multiple/OctoWS2811Demo/OctoWS2811Demo.ino +++ b/examples/Multiple/OctoWS2811Demo/OctoWS2811Demo.ino @@ -11,8 +11,8 @@ CRGB leds[NUM_STRIPS * NUM_LEDS_PER_STRIP]; // OctoWS2811: 2,14,7,8,6,20,21,5 void setup() { - LEDS.addLeds<OCTOWS2811>(leds, NUM_LEDS_PER_STRIP); - LEDS.setBrightness(32); + FastLED.addLeds<OCTOWS2811>(leds, NUM_LEDS_PER_STRIP); + FastLED.setBrightness(32); } void loop() { @@ -32,6 +32,6 @@ void loop() { hue++; - LEDS.show(); - LEDS.delay(10); + FastLED.show(); + FastLED.delay(10); } diff --git a/examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino b/examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino index 8c447b54..4cd5d628 100644 --- a/examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino +++ b/examples/Multiple/ParallelOutputDemo/ParallelOutputDemo.ino @@ -24,13 +24,13 @@ void setup() { delay(5000); Serial.begin(57600); Serial.println("Starting..."); - // LEDS.addLeds<WS2811_PORTA,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP); - // LEDS.addLeds<WS2811_PORTB,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP); - // LEDS.addLeds<WS2811_PORTD,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP).setCorrection(TypicalLEDStrip); - LEDS.addLeds<WS2811_PORTDC,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP); + // FastLED.addLeds<WS2811_PORTA,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP); + // FastLED.addLeds<WS2811_PORTB,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP); + // FastLED.addLeds<WS2811_PORTD,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP).setCorrection(TypicalLEDStrip); + FastLED.addLeds<WS2811_PORTDC,NUM_STRIPS>(leds, NUM_LEDS_PER_STRIP); // Teensy 4 parallel output example - // LEDS.addLeds<NUM_STRIPS, WS2811, 1>(leds,NUM_LEDS_PER_STRIP); + // FastLED.addLeds<NUM_STRIPS, WS2811, 1>(leds,NUM_LEDS_PER_STRIP); } void loop() { @@ -51,6 +51,6 @@ void loop() { hue++; - LEDS.show(); - // LEDS.delay(100); + FastLED.show(); + // FastLED.delay(100); } |