diff options
author | Daniel Garcia <danielgarcia@gmail.com> | 2014-06-03 06:33:20 +0400 |
---|---|---|
committer | Daniel Garcia <danielgarcia@gmail.com> | 2014-06-03 06:33:20 +0400 |
commit | b08060b68d575d4e8fe31a9afbb1bf212d2e8f42 (patch) | |
tree | a248ffc91352deb8b3fc288b26682caf1ceff5b5 /examples/NoisePlayground | |
parent | 46f3806ef0ed8bac1378c2fab74d837cb5de60e9 (diff) |
Fixing build issue w/NoisePlayground on due
Diffstat (limited to 'examples/NoisePlayground')
-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 08277093..2e39fafb 100644 --- a/examples/NoisePlayground/NoisePlayground.ino +++ b/examples/NoisePlayground/NoisePlayground.ino @@ -11,7 +11,7 @@ CRGB leds[kMatrixWidth * kMatrixHeight]; // x,y, & time values -uint32_t x,y,time,hue_time; +uint32_t x,y,v_time,hue_time; // Play with the values of the variables below and see what kinds of effects they // have! More octaves will make things slower. @@ -38,7 +38,7 @@ int y_speed=1; void loop() { // fill the led array 2/16-bit noise values fill_2dnoise16(LEDS.leds(), kMatrixWidth, kMatrixHeight, kMatrixSerpentineLayout, - octaves,x,xscale,y,yscale,time, + octaves,x,xscale,y,yscale,v_time, hue_octaves,x,hue_scale,y,hue_scale,hue_time, false); LEDS.show(); LEDS.countFPS(); @@ -46,7 +46,7 @@ void loop() { // adjust the intra-frame time values x += x_speed; y += y_speed; - time += time_speed; + v_time += time_speed; hue_time += hue_speed; } @@ -65,7 +65,7 @@ void setup() { x = (uint32_t)((uint32_t)random16() << 16) | random16(); y = (uint32_t)((uint32_t)random16() << 16) | random16(); - time = (uint32_t)((uint32_t)random16() << 16) | random16(); + v_time = (uint32_t)((uint32_t)random16() << 16) | random16(); hue_time = (uint32_t)((uint32_t)random16() << 16) | random16(); } |