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: SwitchManager.hpp
- Revision:
- 12:4c7eaac8ceef
- Parent:
- 9:f5eae5211225
diff -r 42b0c567cc8c -r 4c7eaac8ceef SwitchManager.hpp --- a/SwitchManager.hpp Thu Dec 13 15:46:07 2018 +0000 +++ b/SwitchManager.hpp Mon Dec 31 19:20:22 2018 +0000 @@ -29,6 +29,7 @@ } void waitForFalling() { + //When button is pressed, adds update_time_date function to the LCD queue m_oDisplay.LCD_Queue.call(&m_oDisplay, &LCD_Data::update_time_date); switchInterrupt.fall(NULL); t.attach(callback(this, &SwitchManager::waitForStabilityFalling), 0.2);