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

text.h

Committer:
DaniusKalv
Date:
2015-10-03
Revision:
22:8a5ea75ad53b
Parent:
8:f74b8d6f00d0

File content as of revision 22:8a5ea75ad53b:

#ifndef MBED_TEXT_H
#define MBED_TEXT_H

#include "mbed.h"
#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;
    uint8_t temp[8];
    Serial pc;
    LocalFileSystem local;
    FILE *fp;
};

#endif