Skip to content

Commit

Permalink
Change to valid resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
lbussy committed Feb 23, 2020
1 parent ddfde1b commit 772bb84
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bubbles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,9 @@ float Bubbles::getTemp(uint8_t pin) {
DS18B20 sensor(&oneWire);
sensor.begin();
float retVal = -100.00;
sensor.setResolution(13);
sensor.setResolution(12);
sensor.requestTemperatures();
while (!sensor.isConversionComplete());

// Get Temps
JsonConfig *config = JsonConfig::getInstance();
if (config->tempinf) {
Expand Down

0 comments on commit 772bb84

Please sign in to comment.