demo versie 16/05

Dependencies:   EthernetInterface mbed-rto mbed

Fork of ProjectVLC by Klaas Govaerts

Committer:
KlaasGovaerts
Date:
Wed Apr 25 14:51:18 2018 +0000
Revision:
31:915f6cb7ffa5
Parent:
30:996da48a265c
Child:
35:efdbfccf2678
Child:
43:b69c7baa5d31
Reciever werkt multithreaded

Who changed what in which revision?

UserRevisionLine numberNew contents of line
KlaasGovaerts 30:996da48a265c 1 #include "Receiver.h"
KlaasGovaerts 30:996da48a265c 2
KlaasGovaerts 31:915f6cb7ffa5 3 Receiver::Receiver(Queue<int,8>* queue):interpreter(queue){
KlaasGovaerts 30:996da48a265c 4 }
KlaasGovaerts 30:996da48a265c 5
KlaasGovaerts 30:996da48a265c 6 void Receiver::start(){
KlaasGovaerts 30:996da48a265c 7 while(true){
KlaasGovaerts 30:996da48a265c 8 listener.receiveSegment(command,sizeof(command));
KlaasGovaerts 30:996da48a265c 9 interpreter.executeCommand(command);
KlaasGovaerts 30:996da48a265c 10 }
KlaasGovaerts 30:996da48a265c 11 }