thinkingSkins - Moss fasace  Version 1.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
goggles.ino File Reference

Macros

#define PIN   0
 
#define TOP_LED_FIRST   0
 
#define TOP_LED_SECOND   0
 
#define EFFECT   RAINBOW
 
#define RAINBOW   0
 
#define ECTO   1
 
#define upperLidTop   130
 
#define upperLidBottom   -45
 
#define lowerLidTop   -40
 
#define lowerLidBottom   -130
 

Functions

void setup ()
 
void loop ()
 

Variables

Adafruit_NeoPixel pixels = Adafruit_NeoPixel(32, PIN, NEO_GRB + NEO_KHZ800)
 
const int8_t PROGMEM yCoord []
 
const int8_t PROGMEM sine []
 
const uint8_t PROGMEM gamma8 []
 
uint32_t iColor [16][3]
 
int16_t hue = 0
 
uint8_t iBrightness [16]
 
uint8_t brightness = 220
 
uint8_t blinkFrames = 5
 
uint8_t blinkCounter = 30
 
uint8_t eyePos = 192
 
uint8_t newEyePos = 192
 
uint8_t gazeCounter = 75
 
uint8_t gazeFrames = 50
 
int8_t eyeMotion = 0
 

Macro Definition Documentation

#define ECTO   1
#define EFFECT   RAINBOW
#define lowerLidBottom   -130
#define lowerLidTop   -40
#define PIN   0
#define RAINBOW   0
#define TOP_LED_FIRST   0
#define TOP_LED_SECOND   0
#define upperLidBottom   -45
#define upperLidTop   130

Function Documentation

void loop ( )
void setup ( )

Variable Documentation

uint8_t blinkCounter = 30
uint8_t blinkFrames = 5
uint8_t brightness = 220
int8_t eyeMotion = 0
uint8_t eyePos = 192
const uint8_t PROGMEM gamma8[]
Initial value:
= {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3,
3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 7,
7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 10, 11, 11, 11, 12, 12,
13, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20,
20, 21, 21, 22, 22, 23, 24, 24, 25, 25, 26, 27, 27, 28, 29, 29,
30, 31, 31, 32, 33, 34, 34, 35, 36, 37, 38, 38, 39, 40, 41, 42,
42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
58, 59, 60, 61, 62, 63, 64, 65, 66, 68, 69, 70, 71, 72, 73, 75,
76, 77, 78, 80, 81, 82, 84, 85, 86, 88, 89, 90, 92, 93, 94, 96,
97, 99,100,102,103,105,106,108,109,111,112,114,115,117,119,120,
122,124,125,127,129,130,132,134,136,137,139,141,143,145,146,148,
150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,
182,184,186,188,191,193,195,197,199,202,204,206,209,211,213,215,
218,220,223,225,227,230,232,235,237,240,242,245,247,250,252,255
}
uint8_t gazeCounter = 75
uint8_t gazeFrames = 50
int16_t hue = 0
uint8_t iBrightness[16]
uint32_t iColor[16][3]
uint8_t newEyePos = 192
const int8_t PROGMEM sine[]
Initial value:
= {
0, 28, 96, 164, 192, 164, 96, 28, 0, 28, 96, 164, 192, 164, 96, 28 }
const int8_t PROGMEM yCoord[]
Initial value:
= {
127,117,90,49,0,-49,-90,-117,-127,-117,-90,-49,0,49,90,117 }