blob: 9c30f466f8336fc2331517f371c2646efdacf08c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#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 set_rgbcw(struct RGBCW *rgbcw);
void set_timer(uint32_t seconds);
// WILL BE REMOVED just for testing
void setPWM(uint8_t *values, size_t len);
|