aboutsummaryrefslogtreecommitdiffstats
path: root/usr/space_light/include
diff options
context:
space:
mode:
Diffstat (limited to 'usr/space_light/include')
-rw-r--r--usr/space_light/include/space_light.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/usr/space_light/include/space_light.h b/usr/space_light/include/space_light.h
new file mode 100644
index 0000000..b0ca6b8
--- /dev/null
+++ b/usr/space_light/include/space_light.h
@@ -0,0 +1,14 @@
+#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 setRGBCW(struct RGBCW* rgbcw);