array of channels and config stuff

This commit is contained in:
Wolfgang Hottgenroth
2014-11-17 19:45:38 +01:00
parent f4cadb46a2
commit 4ea27a7169
7 changed files with 68 additions and 89 deletions

View File

@ -9,8 +9,13 @@ Thermometer::Thermometer() {
}
void Thermometer::begin(int eepromAddr) {
void Thermometer::begin(bool initializeConfig, int eepromAddr) {
m_eepromAddr = eepromAddr;
if (initializeConfig) {
// set default values
}
m_lastSmoothedTemperature = INVALID_TEMPERATURE;
m_alpha = 0.1;
}