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
main.cpp@2:3cc1e2dec7a2, 2014-06-25 (annotated)
- Committer:
- DaniusKalv
- Date:
- Wed Jun 25 16:24:03 2014 +0000
- Revision:
- 2:3cc1e2dec7a2
- Parent:
- 1:13c8ce9188f1
- Child:
- 3:35a47548d29d
Added text to txt matrix generator
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
DaniusKalv | 0:06ac39308380 | 1 | #include "mbed.h" |
DaniusKalv | 0:06ac39308380 | 2 | #include "matrix.h" |
DaniusKalv | 2:3cc1e2dec7a2 | 3 | #include "text.h" |
DaniusKalv | 2:3cc1e2dec7a2 | 4 | |
DaniusKalv | 2:3cc1e2dec7a2 | 5 | text generator; |
DaniusKalv | 2:3cc1e2dec7a2 | 6 | |
DaniusKalv | 0:06ac39308380 | 7 | |
DaniusKalv | 0:06ac39308380 | 8 | int main() { |
DaniusKalv | 2:3cc1e2dec7a2 | 9 | generator.generate("LABAS KUGELI SU UOGIENE"); |
DaniusKalv | 2:3cc1e2dec7a2 | 10 | |
DaniusKalv | 2:3cc1e2dec7a2 | 11 | //matrix("WELCOME!"); |
DaniusKalv | 0:06ac39308380 | 12 | } |