demo versie 16/05

Dependencies:   EthernetInterface mbed-rto mbed

Fork of ProjectVLC by Klaas Govaerts

Revision:
38:47c075a354b5
Parent:
31:915f6cb7ffa5
Child:
39:0ab266251e86
Child:
48:0ed7f44202c0
diff -r 381bcce15e3e -r 47c075a354b5 Interpreter.cpp
--- a/Interpreter.cpp	Wed May 02 06:33:40 2018 +0000
+++ b/Interpreter.cpp	Wed May 02 12:44:26 2018 +0000
@@ -8,7 +8,7 @@
 
 void Interpreter::executeCommand(char* command){
     for(int i=0;i<8;i++){
-        LED[i]=-1;
+        LED[i]=1;
     } //Set all default on -1
     
     char *ID=strtok(command,"-");
@@ -30,7 +30,7 @@
     }
     
     for(int i=0;i<8;i++){
-        printf("LED %i, richting: %i\r\n",i,LED[i]);
+       printf("LED %i, richting: %i\r\n",i,LED[i]);   
     }
 }