![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
demo versie 16/05
Dependencies: EthernetInterface mbed-rto mbed
Fork of ProjectVLC by
Receiver.h@6:9903a0906a72, 2018-03-28 (annotated)
- Committer:
- KlaasGovaerts
- Date:
- Wed Mar 28 14:19:06 2018 +0000
- Revision:
- 6:9903a0906a72
- Parent:
- 5:0413d42377d1
- Child:
- 16:ffd311730575
Versie 28/03
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 | 4:0d013b7e4dea | 4 | #ifndef RECEIVER_H |
KlaasGovaerts | 4:0d013b7e4dea | 5 | #define RECEIVER_H |
KlaasGovaerts | 4:0d013b7e4dea | 6 | class Receiver{ |
KlaasGovaerts | 4:0d013b7e4dea | 7 | private: |
KlaasGovaerts | 4:0d013b7e4dea | 8 | int* LED; |
KlaasGovaerts | 4:0d013b7e4dea | 9 | Mutex* lock; |
KlaasGovaerts | 4:0d013b7e4dea | 10 | int directionToNumber(char* direction); |
KlaasGovaerts | 5:0413d42377d1 | 11 | TCPlistener listener; |
KlaasGovaerts | 4:0d013b7e4dea | 12 | public: |
KlaasGovaerts | 4:0d013b7e4dea | 13 | Receiver(int* LED,Mutex* lock); |
KlaasGovaerts | 5:0413d42377d1 | 14 | void init(); |
KlaasGovaerts | 4:0d013b7e4dea | 15 | }; |
KlaasGovaerts | 4:0d013b7e4dea | 16 | #endif |