demo versie 16/05

Dependencies:   EthernetInterface mbed-rto mbed

Fork of ProjectVLC by Klaas Govaerts

Revision:
72:d870f5503783
Parent:
71:5e8ba1357442
Child:
73:5de9e7063adc
--- a/LEDDriver.cpp	Tue May 15 16:53:09 2018 +0000
+++ b/LEDDriver.cpp	Tue May 15 16:55:18 2018 +0000
@@ -1,5 +1,5 @@
 #include "LEDDriver.h" 
-DigitalOut led2(LED2);
+//DigitalOut led2(LED2);
 
 LEDDriver::LEDDriver( Queue<int,1>* queue)
 {
@@ -13,7 +13,7 @@
     if(currentLocation==0){
         poll(numberOfLeds);
     }
-    led2!=led2;
+    //led2!=led2;
     
     setLEDS(currentLocation);
     currentLocation++;
@@ -28,12 +28,13 @@
 
 void LEDDriver::poll(int numberOfLeds)
 {
+        /*
         osEvent event = queue->get();
         if (event.status == osEventMessage){
             int* LEDarray = ((int*)event.value.p);
             memcpy(messageList,LEDarray,8*sizeof(int));
             free(LEDarray);
-        }
+        }*/
 }
 
 void LEDDriver::initArrays()