Thomas Cauwelier / Mbed 2 deprecated visible_light_communication

Dependencies:   SoftSerial SDFileSystem mbed wave_player

Revision:
7:2b99a26e6a43
Parent:
6:0e1973fdfe28
Child:
8:4fcc746968b3
--- a/main.cpp	Wed May 03 00:41:21 2017 +0200
+++ b/main.cpp	Wed May 03 00:46:24 2017 +0200
@@ -18,10 +18,13 @@
 }
 
 int main() {
-    printf("%s\n", "hello, term");
+    printf("%s\r\n", "hello, term!");
+
+    Thread thread;
+    thread.start(receive_uart);
 
     while (true){
-        out.printf("hello, term\n");
+        out.printf("hello, term\r\n");
         wait(1);
     }