PROJ515 / Mbed OS ELEC-351-GROUP-E-CW

Dependencies:   BMP280

Files at this revision

API Documentation at this revision

Comitter:
Swaggie
Date:
Tue Jan 02 12:47:08 2018 +0000
Parent:
3:8fa1e77c8a5d
Child:
5:bea93c8e50b7
Commit message:
Added some more to sampling.h

Changed in this revision

Sampling.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/Sampling.h	Mon Dec 18 18:11:40 2017 +0000
+++ b/Sampling.h	Tue Jan 02 12:47:08 2018 +0000
@@ -0,0 +1,13 @@
+#ifndef __Sampling__
+#define __Sampling__
+
+void SampleTimerISR(void);
+//Called by ticker. Calls the sample funcs of each device by flagging the threads
+
+void ConfigThreadsAndIR(void);
+//Setup Interrupts and Threads
+
+void InitiateHW(void);
+
+
+#endif
\ No newline at end of file
--- a/main.cpp	Mon Dec 18 18:11:40 2017 +0000
+++ b/main.cpp	Tue Jan 02 12:47:08 2018 +0000
@@ -7,6 +7,7 @@
 int main()
 {
     //Initialise devices
+    WebUISetup();
     
     //Hardware Self Test