![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
First version
Dependencies: mbed EthernetInterface mbed-rto
Diff: Interpreter.cpp
- Revision:
- 30:915f6cb7ffa5
- Parent:
- 24:bf62c46acb3e
- Child:
- 35:efdbfccf2678
- Child:
- 38:47c075a354b5
diff -r 996da48a265c -r 915f6cb7ffa5 Interpreter.cpp --- a/Interpreter.cpp Wed Apr 25 14:25:33 2018 +0000 +++ b/Interpreter.cpp Wed Apr 25 14:51:18 2018 +0000 @@ -2,14 +2,14 @@ -Interpreter::Interpreter(Queue<int,8> *queue){ +Interpreter::Interpreter(Queue<int,8>* queue){ Interpreter::queue=queue; } void Interpreter::executeCommand(char* command){ for(int i=0;i<8;i++){ LED[i]=-1; - } //Set all default on 0 + } //Set all default on -1 char *ID=strtok(command,"-"); char *direction=strtok(NULL," ");