Skip to content

Commit

Permalink
take longer for DJ18B20 temp conversion, bump version V2.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
glynhudson committed Jan 5, 2021
1 parent f915a88 commit dfbf944
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion firmware/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ monitor_speed = 38400

# http://docs.platformio.org/en/stable/projectconf.html#lib-deps
lib_deps_external =
DallasTemperature@3.7.7
DallasTemperature@3.9.1
EmonLib
https://github.com/openenergymonitor/LiquidCrystal_I2C
https://github.com/jcw/jeelib.git#f097c0039c926881d80a74bec7a7aa020de610ee
Expand Down
3 changes: 2 additions & 1 deletion firmware/src/src.ino
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ LiquidCrystal_I2C lcd(0,0,0);

//----------------------------emonPi Firmware Version---------------------------------------------------------------------------------------------------------------
// Changelog: https://github.com/openenergymonitor/emonpi/blob/master/firmware/readme.md
const int firmware_version = 292; //firmware version x 100 e.g 100 = V1.00
const int firmware_version = 293; //firmware version x 100 e.g 100 = V1.00

//----------------------------emonPi Settings---------------------------------------------------------------------------------------------------------------
bool debug = true;
Expand Down Expand Up @@ -318,6 +318,7 @@ void loop()
if (DS18B20_STATUS==1)
{
sensors.requestTemperatures(); // Send the command to get temperatures
delay(750); //Wait longer for temperature conversion, required for new 20201 batch of RJ45 sensors
for(byte j=0;j<numSensors;j++) emonPi.temp[j]=get_temperature(j);
}

Expand Down

0 comments on commit dfbf944

Please sign in to comment.