2021-07-02 16:45:29 +00:00
|
|
|
//
|
|
|
|
// Created by jedi on 25.06.21.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef FIRMWARE_LUX_H
|
|
|
|
#define FIRMWARE_LUX_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2021-07-19 20:31:30 +00:00
|
|
|
void lux_task(void *pvParameters);
|
|
|
|
|
|
|
|
void signal_led(bool state);
|
|
|
|
|
2022-09-22 19:48:36 +00:00
|
|
|
typedef struct {
|
|
|
|
char r;
|
|
|
|
char g;
|
|
|
|
char b;
|
|
|
|
char a;
|
|
|
|
} rgba_t;
|
|
|
|
|
|
|
|
extern rgba_t top_color;
|
|
|
|
extern rgba_t bottom_color;
|
|
|
|
|
2021-07-02 16:45:29 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif //FIRMWARE_LUX_H
|