We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7651987 commit 1d94772Copy full SHA for 1d94772
libraries/MySensors/MySensor.cpp
@@ -450,21 +450,6 @@ uint8_t MySensor::getChildRoute(uint8_t childId) {
450
}
451
452
453
-int MySensor::getInternalTemp(void)
454
-{
455
- long result;
456
- // Read internal temp sensor against 1.1V reference
457
- ADMUX = _BV(REFS1) | _BV(REFS0) | _BV(MUX3);
458
- delay(20); // Wait until Vref has settled
459
- ADCSRA |= _BV(ADSC);
460
- while (bit_is_set(ADCSRA,ADSC));
461
- result = ADCL;
462
- result |= ADCH<<8;
463
- result = (result - 125) * 1075 + 500; // add 500 to round to nearest full degree
464
-
465
- return result/10000;
466
-}
467
468
int continueTimer = true;
469
void wakeUp() //place to send the interrupts
470
{
0 commit comments