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:
- 2:3cc1e2dec7a2
- Child:
- 3:35a47548d29d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/text.h Wed Jun 25 16:24:03 2014 +0000 @@ -0,0 +1,19 @@ +#ifndef MBED_TEXT_H +#define MBED_TEXT_H + +#include "mbed.h" +#include <string> + +class text { +private: + int stringLength, length, letSize; + int temp[8][8]; +public: + text(); + void generate(string input); + void letters(char take); + void tempCheck(); + void calcLength(string input); +}; + +#endif \ No newline at end of file