First version

Dependencies:   mbed EthernetInterface mbed-rto

Committer:
KlaasGovaerts
Date:
Wed Apr 25 14:25:33 2018 +0000
Revision:
29:996da48a265c
Parent:
24:bf62c46acb3e
Child:
30:915f6cb7ffa5
Receiver werkt d.m.v. thread

Who changed what in which revision?

UserRevisionLine numberNew contents of line
KlaasGovaerts 24:bf62c46acb3e 1 #include "rtos.h"
KlaasGovaerts 29:996da48a265c 2 #include "Interpreter.h"
KlaasGovaerts 29:996da48a265c 3 #include "TCPlistener.h"
KlaasGovaerts 24:bf62c46acb3e 4
KlaasGovaerts 24:bf62c46acb3e 5 #ifndef RECEIVER_H
KlaasGovaerts 24:bf62c46acb3e 6 #define RECEIVER_H
KlaasGovaerts 24:bf62c46acb3e 7 class Receiver{
KlaasGovaerts 24:bf62c46acb3e 8 private:
KlaasGovaerts 29:996da48a265c 9 Queue<int,8> *queue;
KlaasGovaerts 29:996da48a265c 10 Interpreter interpreter;
KlaasGovaerts 29:996da48a265c 11 TCPlistener listener;
KlaasGovaerts 29:996da48a265c 12 char command[512];
KlaasGovaerts 24:bf62c46acb3e 13 public:
KlaasGovaerts 29:996da48a265c 14 Receiver(Queue<int,8> *queue);
KlaasGovaerts 29:996da48a265c 15 void start();
KlaasGovaerts 24:bf62c46acb3e 16 };
KlaasGovaerts 24:bf62c46acb3e 17 #endif