Initial import of v2 goggles that use ws2812 rings from adafruit
[goggles] / ws2811.h
1 /* 
2  * File:   ws2811.h
3  * Author: justin
4  *
5  * Created on 12 June 2013, 16:50
6  */
7
8 #ifndef WS2811_H
9 #define WS2811_H
10
11 // how many LEDs are there
12 #define LED_COUNT 32
13
14 // how many bytes to hold LED_COUNT
15 #define RGB_COUNT (LED_COUNT*3)
16
17 // the actual RGB data (only its GRB order)
18 extern unsigned char rgbdata[RGB_COUNT];
19
20 void ws2811_transmit(void);
21 void ws2811_init(void);
22
23 #endif  /* WS2811_H */
24