-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.h
36 lines (32 loc) · 939 Bytes
/
vars.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//*****************************************************************************
// For NeoPixel
unsigned int8 NeoGreen [NUMPIXELS];
unsigned int8 NeoBlue [NUMPIXELS];
unsigned int8 NeoRed [NUMPIXELS];
//cuando se defina como const para almacenarse en ROM, especificar el
//tamaño completo del array fila-col
const unsigned int8 rainbow[3][8] = {
{ 255, 255, 255, 0, 0, 0, 159, 255 },
{ 0, 69, 233, 255, 176, 0, 0, 255 },
{ 0, 0, 0, 0, 255, 255, 255, 255 }
};
unsigned int8 temp;
int8 i = 0;
//usado en los for
/*
unsigned int8 NeoPixel;
signed int8 BitCount;
int8 i=0;*/
//serial
unsigned char data;
unsigned char buffer_color[4] ={ 0, 32, 128, 0 };
int8 cr=0;
int1 flag_color=FALSE;
//int1 flag_btn = FALSE;
int8 mode = 0;
unsigned int8 tempR;
unsigned int8 tempG;
unsigned int8 tempB;
//flag para salir de los for()
//del ultimo modo
int1 flag_break = FALSE;