![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
First version
Dependencies: mbed EthernetInterface mbed-rto
Receiver.h@16:04fb7968592a, 2018-04-18 (annotated)
- Committer:
- KlaasGovaerts
- Date:
- Wed Apr 18 09:27:34 2018 +0000
- Revision:
- 16:04fb7968592a
- Parent:
- 15:ffd311730575
Versie 18/04 (5)
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 | 3:0d013b7e4dea | 4 | #ifndef RECEIVER_H |
KlaasGovaerts | 3:0d013b7e4dea | 5 | #define RECEIVER_H |
KlaasGovaerts | 3:0d013b7e4dea | 6 | class Receiver{ |
KlaasGovaerts | 3:0d013b7e4dea | 7 | private: |
KlaasGovaerts | 3:0d013b7e4dea | 8 | int* LED; |
KlaasGovaerts | 3:0d013b7e4dea | 9 | Mutex* lock; |
KlaasGovaerts | 3:0d013b7e4dea | 10 | int directionToNumber(char* direction); |
KlaasGovaerts | 4:0413d42377d1 | 11 | TCPlistener listener; |
KlaasGovaerts | 3:0d013b7e4dea | 12 | public: |
KlaasGovaerts | 3:0d013b7e4dea | 13 | Receiver(int* LED,Mutex* lock); |
KlaasGovaerts | 15:ffd311730575 | 14 | void executeCommand(char* command); |
KlaasGovaerts | 16:04fb7968592a | 15 | void executeAll(); |
KlaasGovaerts | 3:0d013b7e4dea | 16 | }; |
KlaasGovaerts | 3:0d013b7e4dea | 17 | #endif |