![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
demo versie 16/05
Dependencies: EthernetInterface mbed-rto mbed
Fork of ProjectVLC by
Diff: Receiver.cpp
- Revision:
- 30:996da48a265c
- Parent:
- 28:bf62c46acb3e
- Child:
- 31:915f6cb7ffa5
diff -r bf62c46acb3e -r 996da48a265c Receiver.cpp --- a/Receiver.cpp Wed Apr 25 13:25:13 2018 +0000 +++ b/Receiver.cpp Wed Apr 25 14:25:33 2018 +0000 @@ -0,0 +1,11 @@ +#include "Receiver.h" + +Receiver::Receiver(Queue<int,8> *queue):interpreter(queue){ +} + +void Receiver::start(){ + while(true){ + listener.receiveSegment(command,sizeof(command)); + interpreter.executeCommand(command); + } +}