demo versie 16/05

Dependencies:   EthernetInterface mbed-rto mbed

Fork of ProjectVLC by Klaas Govaerts

Receiver.cpp

Committer:
KlaasGovaerts
Date:
2018-05-15
Revision:
71:5e8ba1357442
Parent:
62:237e32fd3555

File content as of revision 71:5e8ba1357442:

#include "Receiver.h"

Receiver::Receiver(Queue<int,1>* queue):interpreter(queue){
}

void Receiver::start(){
    while(true){
            listener.receiveSegment(command,sizeof(command));
            interpreter.executeCommand(command);
    }
}