fiatlux/firmware/lux.h
jedi aa32239740
All checks were successful
continuous-integration/drone/push Build is passing
a liitle more stable
2023-02-16 11:39:00 +01:00

31 lines
471 B
C

#ifndef FIRMWARE_LUX_H
#define FIRMWARE_LUX_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void lux_task(void *pvParameters);
void signal_led(bool state);
typedef struct {
uint8_t r;
uint8_t g;
uint8_t b;
uint8_t a;
} rgba_t;
extern volatile rgba_t top_color;
extern volatile rgba_t bottom_color;
extern volatile uint16_t light_value;
extern volatile uint16_t peripheral_version;
#ifdef __cplusplus
}
#endif
#endif //FIRMWARE_LUX_H