First commit
This commit is contained in:
34
light_ws2812_AVR/Light_WS2812/ws2812_config.h
Normal file
34
light_ws2812_AVR/Light_WS2812/ws2812_config.h
Normal file
@@ -0,0 +1,34 @@
|
||||
/*
|
||||
* light_ws2812_config.h
|
||||
*
|
||||
* v2.4 - Nov 27, 2016
|
||||
*
|
||||
* User Configuration file for the light_ws2812_lib
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#ifndef WS2812_CONFIG_H_
|
||||
#define WS2812_CONFIG_H_
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
// Define Reset time in µs.
|
||||
//
|
||||
// This is the time the library spends waiting after writing the data.
|
||||
//
|
||||
// WS2813 needs 300 µs reset time
|
||||
// WS2812 and clones only need 50 µs
|
||||
//
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define ws2812_resettime 300
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
// Define I/O pin
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#define ws2812_port B // Data port
|
||||
#define ws2812_pin 4 // Data out pin
|
||||
|
||||
#endif /* WS2812_CONFIG_H_ */
|
||||
Reference in New Issue
Block a user