demo versie 16/05

Dependencies:   EthernetInterface mbed-rto mbed

Fork of ProjectVLC by Klaas Govaerts

Receiver.cpp

Committer:
KlaasGovaerts
Date:
2018-05-09
Revision:
62:237e32fd3555
Parent:
43:b69c7baa5d31
Child:
71:5e8ba1357442
Child:
74:8c0068ed7c1e
Child:
78:8efde3e9e3fb

File content as of revision 62:237e32fd3555:

#include "Receiver.h"

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

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