From b917dc4fa5a400141c75c81164f442dd43b23a28 Mon Sep 17 00:00:00 2001 From: Bernhard Guillon Date: Sun, 29 Dec 2024 21:42:44 +0100 Subject: space_light: add hacky timer --- usr/space_light/include/space_light.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'usr/space_light/include') 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); -- cgit v1.2.3