working wsled driver checkpoint
This commit is contained in:
@@ -6,9 +6,13 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#define WSLED_12_RESET_TIME 3
|
||||
#define WSLED_12_RESET_TIME 30
|
||||
#define WSLED_15_RESET_TIME 30
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
uint8_t r;
|
||||
uint8_t g;
|
||||
@@ -37,6 +41,10 @@ typedef struct {
|
||||
esp_err_t wsledInit(wsled_t* dev, CRGB** buffer);
|
||||
|
||||
// test function
|
||||
esp_err_t wsledFillAll(CRGB color);
|
||||
esp_err_t wsledFill(CRGB color);
|
||||
|
||||
esp_err_t wsledUpdate();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user