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.cpp
- Revision:
- 29:c2838405fa5c
- Parent:
- 27:27cffdb2e9d3
- Child:
- 33:d3cc00e39e6a
--- a/sensor.cpp Tue Jan 10 09:23:14 2017 +0000
+++ b/sensor.cpp Tue Jan 10 16:40:04 2017 +0000
@@ -27,7 +27,7 @@
changes_counter_ = 0;
}
-const float AnalogSensor::SEND_INTERVAL = 1.0;
+const float AnalogSensor::SEND_INTERVAL = 3.0;
AnalogSensor::AnalogSensor(SENSOR_TYPE id, PinName pin) :
Sensor(id), sensor_(AnalogIn(pin)) {