scroller for 4 digit display, rides on top of DigitDisplay and scrolls messages of arbitrary length
Dependencies: DigitDisplay mbed
DisplayManager/DisplayManager.h
- Committer:
- mfiore
- Date:
- 2014-09-07
- Revision:
- 0:f8d65945b096
File content as of revision 0:f8d65945b096:
#ifndef DISPLAY_MANAGER_H #define DISPLAY_MANAGER_H #include "mbed.h" #include "DigitDisplay.h" class DisplayManager { public: DisplayManager(PinName clk, PinName dio); ~DisplayManager(); void showMessage(char* message, int len); void clear(); private: uint8_t convert(uint8_t value); DigitDisplay* display; }; #endif