![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
First version
Dependencies: mbed EthernetInterface mbed-rto
Diff: Interpreter.cpp
- Revision:
- 38:47c075a354b5
- Parent:
- 30:915f6cb7ffa5
- Child:
- 46:0ed7f44202c0
- Child:
- 63:0ab266251e86
--- 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]); } }