demo versie 16/05

Dependencies:   EthernetInterface mbed-rto mbed

Fork of ProjectVLC by Klaas Govaerts

Committer:
KlaasGovaerts
Date:
Wed Mar 28 08:53:32 2018 +0000
Revision:
3:1c9645acea2f
Parent:
0:98e4994363bf
Child:
4:0d013b7e4dea
Begin Threads

Who changed what in which revision?

UserRevisionLine numberNew contents of line
KlaasGovaerts 0:98e4994363bf 1 #include "mbed.h"
KlaasGovaerts 3:1c9645acea2f 2 #include "rtos.h"
KlaasGovaerts 3:1c9645acea2f 3
KlaasGovaerts 3:1c9645acea2f 4 int main (void){
KlaasGovaerts 3:1c9645acea2f 5 Mutex ArrayRead_mutex;
KlaasGovaerts 3:1c9645acea2f 6 int LED[12];
KlaasGovaerts 3:1c9645acea2f 7 for(int i=0;i<12;i++){
KlaasGovaerts 3:1c9645acea2f 8
KlaasGovaerts 3:1c9645acea2f 9 }
KlaasGovaerts 3:1c9645acea2f 10
KlaasGovaerts 3:1c9645acea2f 11 Thread recieverThread;
KlaasGovaerts 3:1c9645acea2f 12 Thread ledThread;
KlaasGovaerts 3:1c9645acea2f 13
KlaasGovaerts 3:1c9645acea2f 14 recieverThread.start();
KlaasGovaerts 3:1c9645acea2f 15 }