This commit is contained in:
j3d1 2022-09-24 07:48:47 +02:00
parent 9c5fb65a90
commit 1263d7836f
6 changed files with 105 additions and 35 deletions

View file

@ -5,6 +5,8 @@
#ifndef FIRMWARE_LUX_H
#define FIRMWARE_LUX_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
@ -14,10 +16,10 @@ void lux_task(void *pvParameters);
void signal_led(bool state);
typedef struct {
char r;
char g;
char b;
char a;
uint8_t r;
uint8_t g;
uint8_t b;
uint8_t a;
} rgba_t;
extern rgba_t top_color;