First version

Dependencies:   mbed EthernetInterface mbed-rto

Revision:
42:bb1d9d8a9fe4
Parent:
41:b69c7baa5d31
Child:
44:ffac07bff0d8
--- a/main.cpp	Wed May 02 13:51:33 2018 +0000
+++ b/main.cpp	Wed May 02 14:03:16 2018 +0000
@@ -22,9 +22,12 @@
         printf("main executed.\r\n");
         Queue<int,8> queue;
         Thread threadeth;
-        Thread driverThread;
+        //Thread driverThread;
+        Ticker ticker;
+        ticker.attach(this,&LEDDriver::sendData,0.000000625f);
+        
         while(true){
             threadeth.start(receive,&queue);
-            driverThread.start(LEDStart,&queue);
+            //driverThread.start(LEDStart,&queue);
         }       
 }