Queues

Dependencies:   ELEC350-Practicals-FZ429

Fork of Task631-mbedos54 by Nicholas Outram

Revision:
13:ab9f53427355
Parent:
12:43370561e925
Child:
14:1e4ce7eb6d1e
diff -r 43370561e925 -r ab9f53427355 main.cpp
--- a/main.cpp	Tue Nov 14 15:16:06 2017 +0000
+++ b/main.cpp	Tue Nov 14 15:20:33 2017 +0000
@@ -17,7 +17,6 @@
 //Queues - "A message can be a integer or pointer value  to a certain type T that is sent to a thread or interrupt service routine."
 Queue<uint32_t, 5> queue;
 
-
 // Call this on precise intervals
 void adcISR() {
     
@@ -72,9 +71,7 @@
 
 // Main thread
 int main() {
-    redLED    = 0;
-    yellowLED = 0;
-    greenLED  = 0;
+    post();
            
     //Start message
     printf("Welcome\n");