blob: e5a604a40a8efc4af5895bff14df92d075917cd3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
#include <stdint.h>
struct RGBCW {
uint8_t r; // 0-255
uint8_t g; // 0-255
uint8_t b; // 0-255
uint8_t c; // 0-100
uint8_t w; // 0-100
};
void init_led_thread(void *arg);
void setRGBCW(struct RGBCW *rgbcw);
void power_save_mode();
// WILL BE REMOVED just for testing
void setPWM(uint8_t *values, size_t len);
|