diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-05-31 12:34:59 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-05-31 12:34:59 +0200 |
commit | e9baec681de52ab505e31a4c413ddd41a2ef9458 (patch) | |
tree | dc7148169b8de9a9e998107a397d5c76ef5ac575 /src/system.h | |
parent | a13d74779b25dda964d81b36b1ab12863111e8f5 (diff) |
add rgbfade support
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/system.h b/src/system.h index 35c7172..2e50528 100644 --- a/src/system.h +++ b/src/system.h @@ -12,11 +12,12 @@ class System { uint8_t red; uint8_t green; uint8_t blue; - - void set_outputs(); + uint8_t mode_changed; public: + uint8_t anim_step_fine; + uint8_t anim_step_coarse; void initialize(void); void loop(void); @@ -33,6 +34,8 @@ class System { MAGENTA, CYAN, SUN, + FASTRGB, + SLOWRGB, MODE_ENUM_MAX, }; @@ -44,7 +47,7 @@ class System { void debounce_start(void); - System() { btn_debounce = 0; mode = OFF; is_charging = 0; }; + System() { btn_debounce = 0; mode = OFF; is_charging = 0; mode_changed = 0; }; }; extern System blinkencat; |