![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
demo versie 16/05
Dependencies: EthernetInterface mbed-rto mbed
Fork of ProjectVLC by
Interpreter.h@35:efdbfccf2678, 2018-05-02 (annotated)
- Committer:
- KlaasGovaerts
- Date:
- Wed May 02 06:53:40 2018 +0000
- Revision:
- 35:efdbfccf2678
- Parent:
- 31:915f6cb7ffa5
Added documentation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
KlaasGovaerts | 4:0d013b7e4dea | 1 | #include "rtos.h" |
KlaasGovaerts | 6:9903a0906a72 | 2 | #include "TCPlistener.h" |
KlaasGovaerts | 4:0d013b7e4dea | 3 | |
KlaasGovaerts | 19:5ee34e60a31d | 4 | #ifndef INTERPRETER_H |
KlaasGovaerts | 19:5ee34e60a31d | 5 | #define INTERPRETER_H |
KlaasGovaerts | 35:efdbfccf2678 | 6 | |
KlaasGovaerts | 35:efdbfccf2678 | 7 | /** |
KlaasGovaerts | 35:efdbfccf2678 | 8 | * Class used to interpret text commands. |
KlaasGovaerts | 35:efdbfccf2678 | 9 | */ |
KlaasGovaerts | 19:5ee34e60a31d | 10 | class Interpreter{ |
KlaasGovaerts | 4:0d013b7e4dea | 11 | private: |
KlaasGovaerts | 4:0d013b7e4dea | 12 | int directionToNumber(char* direction); |
KlaasGovaerts | 31:915f6cb7ffa5 | 13 | Queue<int,8>* queue; |
KlaasGovaerts | 28:bf62c46acb3e | 14 | int LED[8]; |
KlaasGovaerts | 4:0d013b7e4dea | 15 | public: |
KlaasGovaerts | 31:915f6cb7ffa5 | 16 | Interpreter(Queue<int,8>* queue); |
KlaasGovaerts | 16:ffd311730575 | 17 | void executeCommand(char* command); |
KlaasGovaerts | 4:0d013b7e4dea | 18 | }; |
KlaasGovaerts | 4:0d013b7e4dea | 19 | #endif |