Kaleidoscope
ws2812_config.h
Go to the documentation of this file.
1 /*
2  * light_ws2812_config.h
3  *
4  * v2.4 - Nov 27, 2016
5  *
6  * User Configuration file for the light_ws2812_lib
7  *
8  */
9 
10 
11 #ifndef WS2812_CONFIG_H_
12 #define WS2812_CONFIG_H_
13 
15 // Define Reset time in µs.
16 //
17 // This is the time the library spends waiting after writing the data.
18 //
19 // WS2813 needs 300 µs reset time
20 // WS2812 and clones only need 50 µs
21 //
23 
24 #define ws2812_resettime 300
25 
27 // Define I/O pin
29 
30 
31 #define ws2812_port D // Data port
32 #define ws2812_pin 6 // Data out pin
33 
34 #endif /* WS2812_CONFIG_H_ */