diff options
| author | Bernhard Guillon <Bernhard.Guillon@begu.org> | 2025-01-01 18:22:14 +0100 |
|---|---|---|
| committer | Bernhard Guillon <Bernhard.Guillon@begu.org> | 2025-01-01 18:22:14 +0100 |
| commit | f70b052b789dbac68651591031aabc0b372db8ec (patch) | |
| tree | 8d6fb9aa274200849251328d4aa1dbc71b06a014 /usr/space_light/include/space_light.h | |
| parent | b917dc4fa5a400141c75c81164f442dd43b23a28 (diff) | |
| download | wb3s-ble-nebula-galaxy-f70b052b789dbac68651591031aabc0b372db8ec.tar.gz wb3s-ble-nebula-galaxy-f70b052b789dbac68651591031aabc0b372db8ec.zip | |
space_light: finished the pwm stuff
Using a logic analyzer and a multimeter to figguer out why the things
did't do what I expected ^^
I wrote a long explanation on the set_rgbcw on how this space light
is connected and how it is supposed to work. Also used a work arround
for the PWM.
Diffstat (limited to 'usr/space_light/include/space_light.h')
| -rw-r--r-- | usr/space_light/include/space_light.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/space_light/include/space_light.h b/usr/space_light/include/space_light.h index e5a604a..b5d1f9f 100644 --- a/usr/space_light/include/space_light.h +++ b/usr/space_light/include/space_light.h @@ -11,8 +11,9 @@ struct RGBCW { void init_led_thread(void *arg); -void setRGBCW(struct RGBCW *rgbcw); -void power_save_mode(); +void set_rgbcw(struct RGBCW *rgbcw); + +void set_timer(uint16_t seconds); // WILL BE REMOVED just for testing void setPWM(uint8_t *values, size_t len); |
