scroller for 4 digit display, rides on top of DigitDisplay and scrolls messages of arbitrary length
Dependencies: DigitDisplay mbed
Diff: DisplayManager/DisplayManager.h
- Revision:
- 0:f8d65945b096
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DisplayManager/DisplayManager.h Sun Sep 07 05:30:25 2014 +0000 @@ -0,0 +1,20 @@ +#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 \ No newline at end of file