File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed
libraries/MySensors/examples/SensebenderMicro Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -113,23 +113,10 @@ void setup() {
113
113
gw.begin (NULL ,AUTO,false );
114
114
#endif
115
115
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
+
130
118
digitalWrite (LED_PIN, LOW);
131
119
132
- humiditySensor.begin ();
133
120
Serial.flush ();
134
121
Serial.println (F (" - Online!" ));
135
122
gw.sendSketchInfo (" Sensebender Micro" , RELEASE);
You can’t perform that action at this time.
0 commit comments