diff options
Diffstat (limited to 'src/display.h')
-rw-r--r-- | src/display.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/display.h b/src/display.h index 666648a..f48d1c3 100644 --- a/src/display.h +++ b/src/display.h @@ -6,18 +6,22 @@ class Display { private: - uint16_t scroll_delay; + uint16_t update_delay; + uint8_t need_update; uint8_t active_col; uint8_t disp_buf[8]; uint8_t str_pos; int8_t char_pos; + char string[128]; public: Display(); void enable(void); void disable(void); void multiplex(void); void reset(void); - char string[128]; + void update(void); + void setString(const char *str); + void setString(char *str); }; extern Display display; |