Changeset - 6ca9558755f3
[Not reviewed]
default
0 1 0
Dennis Fink - 6 years ago 2018-02-06 23:13:24
dennis.fink@c3l.lu
Change comments
1 file changed with 3 insertions and 4 deletions:
0 comments (0 inline, 0 general)
Neopixel_Goggles.ino
Show inline comments
 
#include <Adafruit_NeoPixel.h>
 

	
 
#ifdef __AVR_ATtiny85__ // Trinket, Gemma, etc.
 
#ifdef __AVR_ATtiny85__
 
#include <avr/power.h>
 
#endif
 

	
 
/* Begin config section
 
-----------------------*/
 
// Begin config section
 

	
 
#define PIN 0
 

	
 
#define BRIGHTNESS 64
 

	
 
#define MODE_CHANGE_TIME 10000
 

	
 
#define COLOR_MIN 0
 
#define COLOR_MAX 255
 

	
 
#define STEPS_MIN 5
 
#define STEPS_MAX 10
 

	
 
#define SLOW_INTERVAL_MIN 25
 
#define SLOW_INTERVAL_MAX 55
 

	
 
#define RAINBOW_CYCLE_MIN_INTERVAL 1
 
#define RAINBOW_CYCLE_MAX_INTERVAL 10
 

	
 
#define BLINK_MIN_INTERVAL 250
 
#define BLINK_MAX_INTERVAL 500
 

	
 
/* End config section */
 
// End config section
 

	
 
enum  pattern {
 
  RAINBOW_CYCLE,
 
  COLOR_WIPE,
 
  DOUBLE_COLOR_WIPE,
 
  SCANNER,
 
  DOUBLE_SCANNER,
 
  RANDOM,
 
  DOUBLE_RANDOM,
 
  BLINK,
 
  DOT
 
};
0 comments (0 inline, 0 general)