![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
First version
Dependencies: mbed EthernetInterface mbed-rto
main.cpp
- Committer:
- KlaasGovaerts
- Date:
- 2018-05-02
- Revision:
- 35:efdbfccf2678
- Parent:
- 30:915f6cb7ffa5
- Child:
- 36:aa6c6c177be2
File content as of revision 35:efdbfccf2678:
#include "mbed.h" #include "rtos.h" #include "Interpreter.h" #include "TCPlistener.h" #include "Receiver.h" void receive(Queue<int,8>* queue){ Receiver receiver(queue); receiver.start(); } int main (void){ Queue<int,8> queue; Thread receiverThread; while(true){ receiverThread.start(receive,&queue); } }