Changeset - 0dd7c07f8c8e
[Not reviewed]
default
0 1 0
Dennis Fink - 6 years ago 2018-02-06 23:42:56
dennis.fink@c3l.lu
Remove comment
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
Neopixel_Goggles.ino
Show inline comments
 
@@ -278,25 +278,25 @@ class NeoPatterns : public Adafruit_NeoP
 
        setPixelColor(i, color);
 
      }
 
    }
 
};
 

	
 
void RingsComplete();
 

	
 
NeoPatterns Rings(32, PIN, NEO_GRB + NEO_KHZ800, &RingsComplete);
 
uint8_t mode = 0;
 
uint32_t prev_time;
 

	
 
void setup() {
 
#ifdef __AVR_ATtiny85__ // Trinket, Gemma, etc.
 
#ifdef __AVR_ATtiny85__
 
  if (F_CPU == 16000000) clock_prescale_set(clock_div_1);
 
#endif
 
  Rings.begin();
 
  Rings.setBrightness(BRIGHTNESS);
 
  Rings.RainbowCycle(random(RAINBOW_CYCLE_MIN_INTERVAL, RAINBOW_CYCLE_MAX_INTERVAL + 1));
 
  prev_time = millis();
 
}
 

	
 
void loop() {
 
  Rings.Update();
 
  /*
 
     We could store the return of the first millis call in a variable.
0 comments (0 inline, 0 general)