-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,11 @@ | |
* Controls WS2811/WS2812/WS2812B RGB-LEDs | ||
* Author: Tim ([email protected]) | ||
* | ||
* Jan 18th, 2014 v2.0b Initial Version | ||
* Nov 29th, 2015 v2.3 Added SK6812RGBW support | ||
* Nov 11th, 2023 v2.5 Added support for ports that cannot be addressed with "out" | ||
* Jan 18, 2014 v2.0b Initial Version | ||
* Nov 29, 2015 v2.3 Added SK6812RGBW support | ||
* Nov 11, 2023 v2.5 Added support for ports that cannot be addressed with "out" | ||
* Added LGT8F88A support | ||
* May 1, 2024 v2.6 Added support for reduced core AVRs | ||
* | ||
* License: GNU GPL v2+ (see License.txt) | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 0 // Data out pin | ||
|
||
#endif /* WS2812_CONFIG_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters