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
Diff: main.cpp
- Revision:
- 0:f9a18207d99c
- Child:
- 2:38d31b2e0956
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Nov 23 14:42:48 2018 +0000 @@ -0,0 +1,14 @@ +/* Sampling Code */ + #include "mbed.h" +#include "sample_hardware.hpp" +#include "Sampler.hpp" + +EventQueue mainQueue; + +Sampler s; // Initialise the s object + +int main() +{ + s.start(); + Thread::wait(osWaitForever); +}