![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
First version
Dependencies: mbed EthernetInterface mbed-rto
Receiver.cpp@78:8efde3e9e3fb, 2018-05-16 (annotated)
- Committer:
- albireo987
- Date:
- Wed May 16 09:44:54 2018 +0000
- Revision:
- 78:8efde3e9e3fb
- Parent:
- 59:237e32fd3555
write with int;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
KlaasGovaerts | 29:996da48a265c | 1 | #include "Receiver.h" |
KlaasGovaerts | 29:996da48a265c | 2 | |
KlaasGovaerts | 30:915f6cb7ffa5 | 3 | Receiver::Receiver(Queue<int,8>* queue):interpreter(queue){ |
KlaasGovaerts | 29:996da48a265c | 4 | } |
KlaasGovaerts | 29:996da48a265c | 5 | |
KlaasGovaerts | 29:996da48a265c | 6 | void Receiver::start(){ |
KlaasGovaerts | 29:996da48a265c | 7 | while(true){ |
KlaasGovaerts | 29:996da48a265c | 8 | listener.receiveSegment(command,sizeof(command)); |
KlaasGovaerts | 29:996da48a265c | 9 | interpreter.executeCommand(command); |
albireo987 | 78:8efde3e9e3fb | 10 | |
KlaasGovaerts | 29:996da48a265c | 11 | } |
KlaasGovaerts | 29:996da48a265c | 12 | } |