Version 8, working version with Alix, sams and ollies code. Displays time, date and sensor info onto terminal, LCD and networking, and saves onto SD card.

Dependencies:   BMP280 ELEC350-Practicals-FZ429 TextLCD BME280 ntp-client

Revision:
2:38d31b2e0956
Parent:
0:f9a18207d99c
Child:
4:740cba3f2716
--- a/main.cpp	Sun Nov 25 16:19:10 2018 +0000
+++ b/main.cpp	Sun Nov 25 17:49:47 2018 +0000
@@ -6,9 +6,17 @@
 EventQueue mainQueue; 
 
 Sampler s;   // Initialise the s object
+Ticker t;               // Time Initialisation
+
+void doISR()
+{
+   s.activate();   // Signal the sampling thread to move from WAITING to READY
+}
+    
 
 int main()
 {
-    s.start();
+    t.attach(&doISR, 15);
     Thread::wait(osWaitForever); 
 }
+    
\ No newline at end of file