Pull request for i.a. sensor buffer template
Dependencies: BLE_API MPU6050 mbed nRF51822
ReadIntervals.h
- Committer:
- JustinAtAlten
- Date:
- 2018-11-15
- Revision:
- 10:eed92ffd0bba
File content as of revision 10:eed92ffd0bba:
#ifndef READINTERVALS_H #define READINTERVALS_H namespace ReadIntervals { // // // All time-variables here are in seconds // // // const unsigned int TemperatureSensorPeriod = 1; const unsigned int BatteryMonitorPeriod = 60; extern int temperatureSensorPeriod_timeLeft; extern int batteryMonitorPeriod_timeLeft; extern bool temperatureSensorPeriodPassed(); extern bool batteryMonitorPeriodPassed(); extern void updateTimeLeft(const int & tickerSleptTime); extern int getTickerSleepTime(); }; #endif /* READINTERVALS_H */