diff options
Diffstat (limited to 'examples/NoisePlayground/NoisePlayground.ino')
-rw-r--r-- | examples/NoisePlayground/NoisePlayground.ino | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/NoisePlayground/NoisePlayground.ino b/examples/NoisePlayground/NoisePlayground.ino index 0d860cf5..a6d09774 100644 --- a/examples/NoisePlayground/NoisePlayground.ino +++ b/examples/NoisePlayground/NoisePlayground.ino @@ -37,11 +37,11 @@ int y_speed=1111; void loop() { // fill the led array 2/16-bit noise values - fill_2dnoise16(LEDS.leds(), kMatrixWidth, kMatrixHeight, kMatrixSerpentineLayout, + fill_2dnoise16(leds, kMatrixWidth, kMatrixHeight, kMatrixSerpentineLayout, octaves,x,xscale,y,yscale,v_time, hue_octaves,hxy,hue_scale,hxy,hue_scale,hue_time, false); - LEDS.show(); + FastLED.show(); // adjust the intra-frame time values x += x_speed; @@ -61,8 +61,8 @@ void setup() { Serial.println("resetting!"); delay(3000); - LEDS.addLeds<WS2811,2,GRB>(leds,NUM_LEDS); - LEDS.setBrightness(96); + FastLED.addLeds<WS2811,2,GRB>(leds,NUM_LEDS); + FastLED.setBrightness(96); hxy = (uint32_t)((uint32_t)random16() << 16) + (uint32_t)random16(); x = (uint32_t)((uint32_t)random16() << 16) + (uint32_t)random16(); |