First version

Dependencies:   mbed EthernetInterface mbed-rto

Revision:
15:ffd311730575
Parent:
5:9903a0906a72
Child:
16: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)){