File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ SensorDigitalOutput | 1 | Generic digital output sensor, allows setting
99
99
SensorRelay | 1 | Relay sensor, allows activating the relay | -
100
100
SensorLatchingRelay1Pin | 1 | Latching Relay sensor, allows toggling the relay with a pulse on the configured pin | -
101
101
SensorLatchingRelay2Pins | 1 | Latching Relay sensor, allows turing the relay on and off with a pulse on the configured pins | -
102
- SensorDHT11 | 2 | DHT11 sensor, return temperature/humidity based on the attached DHT sensor | https://github.com/mysensors/MySensorsArduinoExamples/tree/master/libraries/ DHT
103
- SensorDHT22 | 2 | DHT22 sensor, return temperature/humidity based on the attached DHT sensor | https://github.com/mysensors/MySensorsArduinoExamples/tree/master/libraries/ DHT
102
+ SensorDHT11 | 2 | DHT11 sensor, return temperature/humidity based on the attached DHT sensor | https://github.com/markruys/arduino- DHT
103
+ SensorDHT22 | 2 | DHT22 sensor, return temperature/humidity based on the attached DHT sensor | https://github.com/markruys/arduino- DHT
104
104
SensorSHT21 | 2 | SHT21 sensor, return temperature/humidity based on the attached SHT21 sensor | https://github.com/SodaqMoja/Sodaq_SHT2x
105
105
SensorHTU21D | 2 | HTU21D sensor, return temperature/humidity based on the attached HTU21D sensor | https://github.com/SodaqMoja/Sodaq_SHT2x
106
106
SensorInterrupt | 1 | Generic interrupt-based sensor, wake up the board when a pin changes status | -
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class SensorDHT: public Sensor {
51
51
52
52
// define what to do during setup
53
53
void onLoop (Child* child) {
54
- nodeManager.sleepOrWait (_dht->getMinimumSamplingPeriod ());
54
+ nodeManager.sleepOrWait (_dht->getMinimumSamplingPeriod ()+ 100 );
55
55
_dht->readSensor (true );
56
56
// temperature sensor
57
57
if (child->getType () == V_TEMP) {
You can’t perform that action at this time.
0 commit comments