Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed EthernetInterface mbed-rto
Interpreter.h@30:915f6cb7ffa5, 2018-04-25 (annotated)
- Committer:
- KlaasGovaerts
- Date:
- Wed Apr 25 14:51:18 2018 +0000
- Revision:
- 30:915f6cb7ffa5
- Parent:
- 24:bf62c46acb3e
- Child:
- 35:efdbfccf2678
- Child:
- 71:5e8ba1357442
- Child:
- 74:8c0068ed7c1e
- Child:
- 75:31c15986b85e
Reciever werkt multithreaded
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| KlaasGovaerts | 3:0d013b7e4dea | 1 | #include "rtos.h" |
| KlaasGovaerts | 5:9903a0906a72 | 2 | #include "TCPlistener.h" |
| KlaasGovaerts | 3:0d013b7e4dea | 3 | |
| KlaasGovaerts | 18:5ee34e60a31d | 4 | #ifndef INTERPRETER_H |
| KlaasGovaerts | 18:5ee34e60a31d | 5 | #define INTERPRETER_H |
| KlaasGovaerts | 18:5ee34e60a31d | 6 | class Interpreter{ |
| KlaasGovaerts | 3:0d013b7e4dea | 7 | private: |
| KlaasGovaerts | 3:0d013b7e4dea | 8 | int directionToNumber(char* direction); |
| KlaasGovaerts | 30:915f6cb7ffa5 | 9 | Queue<int,8>* queue; |
| KlaasGovaerts | 24:bf62c46acb3e | 10 | int LED[8]; |
| KlaasGovaerts | 3:0d013b7e4dea | 11 | public: |
| KlaasGovaerts | 30:915f6cb7ffa5 | 12 | Interpreter(Queue<int,8>* queue); |
| KlaasGovaerts | 15:ffd311730575 | 13 | void executeCommand(char* command); |
| KlaasGovaerts | 3:0d013b7e4dea | 14 | }; |
| KlaasGovaerts | 3:0d013b7e4dea | 15 | #endif |
