aboutsummaryrefslogtreecommitdiffstats
path: root/usr/space_light/include/space_light.h
diff options
context:
space:
mode:
authorBernhard Guillon <Bernhard.Guillon@begu.org>2024-12-29 21:42:44 +0100
committerBernhard Guillon <Bernhard.Guillon@begu.org>2024-12-29 21:42:44 +0100
commitb917dc4fa5a400141c75c81164f442dd43b23a28 (patch)
tree3dd3833416380508d724b3a6684a7e70ff3aeda5 /usr/space_light/include/space_light.h
parent45c9ca9eb3c0f858cbb2324ae290d39809c80cce (diff)
downloadwb3s-ble-nebula-galaxy-b917dc4fa5a400141c75c81164f442dd43b23a28.tar.gz
wb3s-ble-nebula-galaxy-b917dc4fa5a400141c75c81164f442dd43b23a28.zip
space_light: add hacky timer
Diffstat (limited to 'usr/space_light/include/space_light.h')
-rw-r--r--usr/space_light/include/space_light.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/space_light/include/space_light.h b/usr/space_light/include/space_light.h
index b0ca6b8..e5a604a 100644
--- a/usr/space_light/include/space_light.h
+++ b/usr/space_light/include/space_light.h
@@ -9,6 +9,10 @@ struct RGBCW {
uint8_t w; // 0-100
};
-void init_led_thread (void *arg);
+void init_led_thread(void *arg);
-void setRGBCW(struct RGBCW* rgbcw);
+void setRGBCW(struct RGBCW *rgbcw);
+void power_save_mode();
+
+// WILL BE REMOVED just for testing
+void setPWM(uint8_t *values, size_t len);