Alix & Sam's combined versions

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

Committer:
O_Thom
Date:
Fri Nov 23 14:42:48 2018 +0000
Revision:
0:f9a18207d99c
Child:
2:38d31b2e0956
Sampler class working

Who changed what in which revision?

UserRevisionLine numberNew contents of line
O_Thom 0:f9a18207d99c 1 /* Sampling Code */
O_Thom 0:f9a18207d99c 2 #include "mbed.h"
O_Thom 0:f9a18207d99c 3 #include "sample_hardware.hpp"
O_Thom 0:f9a18207d99c 4 #include "Sampler.hpp"
O_Thom 0:f9a18207d99c 5
O_Thom 0:f9a18207d99c 6 EventQueue mainQueue;
O_Thom 0:f9a18207d99c 7
O_Thom 0:f9a18207d99c 8 Sampler s; // Initialise the s object
O_Thom 0:f9a18207d99c 9
O_Thom 0:f9a18207d99c 10 int main()
O_Thom 0:f9a18207d99c 11 {
O_Thom 0:f9a18207d99c 12 s.start();
O_Thom 0:f9a18207d99c 13 Thread::wait(osWaitForever);
O_Thom 0:f9a18207d99c 14 }