Blue LED matrix (8x16) program. Gets text string through bluetooth and displays it on led matrix. Also has a clock function- get system time from a phone through bluetooth and enters clock mode. In clock mode it acts as a clock showing hours and minutes and blinking led every second. Clock mode can be broken if a text string is received through bluetooth.
Dependencies: mbed
Diff: text.h
- Revision:
- 7:ca5ed7936472
- Parent:
- 3:35a47548d29d
- Child:
- 8:f74b8d6f00d0
--- a/text.h Thu Oct 30 23:12:18 2014 +0000 +++ b/text.h Fri Oct 31 10:49:39 2014 +0000 @@ -5,18 +5,19 @@ #include <string> class text { +public: + text(); + void generate(string input); + void letters(char take); + void tempCheck(); + void calcLength(string input); + private: int stringLength, length, letSize; int temp[8][8]; Serial pc; LocalFileSystem local; FILE *fp; -public: - text(); - void generate(string input); - void letters(char take); - void tempCheck(); - void calcLength(string input); }; #endif \ No newline at end of file