Klaas Govaerts / Mbed 2 deprecated ProjectVLC

Dependencies:   mbed EthernetInterface mbed-rto

Committer:
KlaasGovaerts
Date:
Wed May 02 13:51:33 2018 +0000
Revision:
41:b69c7baa5d31
Parent:
30:915f6cb7ffa5
Child:
59:237e32fd3555
Added multiple printf statements

Who changed what in which revision?

UserRevisionLine numberNew 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 41:b69c7baa5d31 4 printf("Receiver created.\r\n");
KlaasGovaerts 29:996da48a265c 5 }
KlaasGovaerts 29:996da48a265c 6
KlaasGovaerts 29:996da48a265c 7 void Receiver::start(){
KlaasGovaerts 41:b69c7baa5d31 8 printf("Receiver::start executed.\r\n");
KlaasGovaerts 29:996da48a265c 9 while(true){
KlaasGovaerts 29:996da48a265c 10 listener.receiveSegment(command,sizeof(command));
KlaasGovaerts 29:996da48a265c 11 interpreter.executeCommand(command);
KlaasGovaerts 29:996da48a265c 12 }
KlaasGovaerts 29:996da48a265c 13 }