blob: b5d1f9f84becf6c978816aa37cfca3a367a182e8 (
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(uint16_t seconds);
// WILL BE REMOVED just for testing
void setPWM(uint8_t *values, size_t len);
|