V001. 2017_11_30 10:21 Working code from Tuesday's lab session.

Dependencies:   mbed-rtos mbed

Fork of 2017_11_28_ELEC347_Coursework by Chris Hills

DSP Coursework ELEC347 2017-2018 Group members: Matthew Thewsey, Thomas Morris, Samuel Waggett, Christopher Hills .

Revision:
12:d522a7a061d6
Parent:
11:7efb6e4759cc
Child:
13:db76473a3d76
--- a/main.cpp	Sat Dec 02 13:35:40 2017 +0000
+++ b/main.cpp	Sat Dec 02 17:09:34 2017 +0000
@@ -53,10 +53,7 @@
 {
     t2.start(sampler);//Start the Sampler timed interrupt
     t1.start(coeff_update);//Update the coeffiecients of the filter
-    while(1)
-    {
-        
-    }
+
 }
 
 
@@ -97,6 +94,6 @@
         
     
         SampLED = 0;      //LED Indicates end of sampling
-        Thread::wait(sample_rate/1000);//Look at this
+        Thread::wait(sample_rate*1000);//Look at this
     }
 }