Skip to content

Commit 9133a00

Browse files
committed
Merge pull request #127 from tbowmo/master
Removed "sensor conditioning code"
2 parents c497cf7 + e23baf9 commit 9133a00

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

libraries/MySensors/examples/SensebenderMicro/SensebenderMicro.ino

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -113,23 +113,10 @@ void setup() {
113113
gw.begin(NULL,AUTO,false);
114114
#endif
115115

116-
// --- following code will heat up the sensor element, and wait until the temperature is
117-
// within 0.3 degrees celcius of the initial temperature (measured at startup).
118-
// This is to try and burn away residue humidity from manufacturing process.
119-
int temperature = humiditySensor.getCelsiusHundredths();
120-
121-
humiditySensor.setHeater(true);
122-
delay(500);
123-
humiditySensor.setHeater(false);
124-
125-
int t = 0;
126-
do {
127-
t = humiditySensor.getCelsiusHundredths() - temperature;
128-
} while (abs(t) >30);
129-
// ---
116+
humiditySensor.begin();
117+
130118
digitalWrite(LED_PIN, LOW);
131119

132-
humiditySensor.begin();
133120
Serial.flush();
134121
Serial.println(F(" - Online!"));
135122
gw.sendSketchInfo("Sensebender Micro", RELEASE);

0 commit comments

Comments
 (0)