demo versie 16/05

Dependencies:   EthernetInterface mbed-rto mbed

Fork of ProjectVLC by Klaas Govaerts

Revision:
16:ffd311730575
Parent:
6:9903a0906a72
Child:
17:04fb7968592a
--- a/Receiver.cpp	Wed Apr 18 08:35:32 2018 +0000
+++ b/Receiver.cpp	Wed Apr 18 09:17:14 2018 +0000
@@ -6,9 +6,7 @@
     
 }
 
-void Receiver::init(){
-    char command[512];
-    listener.receivePacket(command,sizeof(command));    
+void Receiver::executeCommand(char* command){
     char *ID=strtok(command,",");
     char *direction=strtok(NULL," ");
     while((ID!=NULL)&&(direction!=NULL)){