Thomas Cauwelier / Mbed 2 deprecated visible_light_communication

Dependencies:   SoftSerial SDFileSystem mbed wave_player

Revision:
17:8683abdc1912
Parent:
16:1a0589d846bf
Child:
18:3aeaa22b265d
--- a/main.cpp	Wed May 10 14:31:39 2017 +0000
+++ b/main.cpp	Wed May 10 17:31:22 2017 +0200
@@ -76,7 +76,7 @@
 void client(){
     MySoftSerial s(p18,p17);
     s.baud(20000);
-    s.format(16, SoftSerial::None, 1);
+    //s.format(16, SoftSerial::None, 1);
     while (true) {
         while (!s.readable());
         printf("got %i\r\n",s.getc());
@@ -86,7 +86,7 @@
 void relay(){
     MySoftSerial s(p17,p18);
     s.baud(20000);
-    s.format(16, SoftSerial::None, 1);
+    //s.format(16, SoftSerial::None, 1);
     int i = 0;
     while (true){
         wait(0.1);