scroller for 4 digit display, rides on top of DigitDisplay and scrolls messages of arbitrary length

Dependencies:   DigitDisplay mbed

Committer:
mfiore
Date:
Sun Sep 07 05:30:25 2014 +0000
Revision:
0:f8d65945b096
initial commit - looks good and supports 0-9, a-b, hyphen, and underscore

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mfiore 0:f8d65945b096 1 #ifndef DISPLAY_MANAGER_H
mfiore 0:f8d65945b096 2 #define DISPLAY_MANAGER_H
mfiore 0:f8d65945b096 3
mfiore 0:f8d65945b096 4 #include "mbed.h"
mfiore 0:f8d65945b096 5 #include "DigitDisplay.h"
mfiore 0:f8d65945b096 6
mfiore 0:f8d65945b096 7 class DisplayManager {
mfiore 0:f8d65945b096 8 public:
mfiore 0:f8d65945b096 9 DisplayManager(PinName clk, PinName dio);
mfiore 0:f8d65945b096 10 ~DisplayManager();
mfiore 0:f8d65945b096 11
mfiore 0:f8d65945b096 12 void showMessage(char* message, int len);
mfiore 0:f8d65945b096 13 void clear();
mfiore 0:f8d65945b096 14
mfiore 0:f8d65945b096 15 private:
mfiore 0:f8d65945b096 16 uint8_t convert(uint8_t value);
mfiore 0:f8d65945b096 17 DigitDisplay* display;
mfiore 0:f8d65945b096 18 };
mfiore 0:f8d65945b096 19
mfiore 0:f8d65945b096 20 #endif