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: main.cpp
- Revision:
- 18:fe3809cdc50a
- Parent:
- 17:9889611a4ad1
- Child:
- 19:2b14139fb19f
--- a/main.cpp Tue Nov 18 22:02:27 2014 +0000 +++ b/main.cpp Wed Nov 19 09:14:55 2014 +0000 @@ -23,7 +23,7 @@ bluetooth.baud(38400); void (*foo)() = &receive; bluetooth.attach(foo, Serial::RxIrq); - generator.generate("ABCD"); + generator.generate("Hello world!"); while(true){ if (interrupt_flag == 1){ pc.printf("\r\nIn interrupt flag!");