Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: sensor_board.h
- Revision:
- 66:a89b7430b424
- Parent:
- 56:065bd3a75d97
--- a/sensor_board.h Thu Jan 19 13:20:50 2017 +0100
+++ b/sensor_board.h Mon Jan 23 13:22:21 2017 +0100
@@ -10,6 +10,7 @@
void run();
static const int MAX_RETRY;
+ static const float UPDATE_INTERVAL;
private:
int getRandomWaitMs();
bool sendByRadio(char message[TRANSFER_SIZE]);
@@ -23,4 +24,5 @@
DigitalSensor* digital_sensor_;
Ticker analog_ticker_;
Ticker digital_ticker_;
+ Ticker analog_update_;
};