diff options
| author | EnricoGuccii <partyka.003@gmail.com> | 2025-05-10 19:45:32 +0200 |
|---|---|---|
| committer | EnricoGuccii <partyka.003@gmail.com> | 2025-05-10 19:45:32 +0200 |
| commit | 7da514aa6ec19df49828fd87013ba284f338fbdd (patch) | |
| tree | b746ce59a01a8ce3b4334727a37aaab0c1f3690d /lib/rgb/rgb.h | |
| parent | 203a18c1582ecae90468d6527c311c82d4e0c1c6 (diff) | |
switch to ESP32-S2FN4R2
Diffstat (limited to 'lib/rgb/rgb.h')
| -rw-r--r-- | lib/rgb/rgb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rgb/rgb.h b/lib/rgb/rgb.h index 2f50088..3850f0a 100644 --- a/lib/rgb/rgb.h +++ b/lib/rgb/rgb.h @@ -14,8 +14,8 @@ public: void setColorRGB(uint8_t red, uint8_t green, uint8_t blue, bool saveColor); void fadeColor(uint8_t red, uint8_t green, uint8_t blue, int duration); void blink(int cycles, int interval); - void breathe(int duration, int interval); - void rainbowCycle(int duration); + void breathe(int cycles, int period); + void rainbowCycle(int duration, float speed); private: int scaleColor(uint8_t val); |