Add command SetOption74 0/1

Add command SetOption74 0/1 to enable DS18x20 internal pull-up and remove define DS18B20_INTERNAL_PULLUP (#6795)
This commit is contained in:
Theo Arends 2019-10-30 22:22:18 +01:00
parent 5ebe2b92bb
commit dccf6fb7cd
3 changed files with 2 additions and 2 deletions

View File

@ -4,6 +4,7 @@
* Change default GUI to dark theme * Change default GUI to dark theme
* Add command SetOption73 0/1 to re-enable HTTP Cross-Origin Resource Sharing (CORS) now default disabled (#6767) * Add command SetOption73 0/1 to re-enable HTTP Cross-Origin Resource Sharing (CORS) now default disabled (#6767)
* Add frequency to ADE7953 energy monitor as used in Shelly 2.5 by ljakob (#6778) * Add frequency to ADE7953 energy monitor as used in Shelly 2.5 by ljakob (#6778)
* Add command SetOption74 0/1 to enable DS18x20 internal pull-up and remove define DS18B20_INTERNAL_PULLUP (#6795)
* *
* 6.7.1.1 20191026 * 6.7.1.1 20191026
* Change ArduinoSlave to TasmotaSlave (Experimental) * Change ArduinoSlave to TasmotaSlave (Experimental)

View File

@ -353,7 +353,6 @@
// -- One wire sensors ---------------------------- // -- One wire sensors ----------------------------
#define USE_DS18x20 // Add support for DS18x20 sensors with id sort, single scan and read retry (+2k6 code) #define USE_DS18x20 // Add support for DS18x20 sensors with id sort, single scan and read retry (+2k6 code)
// #define W1_PARASITE_POWER // Optimize for parasite powered sensors // #define W1_PARASITE_POWER // Optimize for parasite powered sensors
// #define DS18B20_INTERNAL_PULLUP // Use INPUT_PULLUP internal pullup resistor
// -- I2C sensors --------------------------------- // -- I2C sensors ---------------------------------
#define USE_I2C // I2C using library wire (+10k code, 0k2 mem, 124 iram) #define USE_I2C // I2C using library wire (+10k code, 0k2 mem, 124 iram)

View File

@ -126,7 +126,7 @@ a_setoption = [[
"Enable Weekend Energy Tariff", "Enable Weekend Energy Tariff",
"Select different Modbus registers for Active Energy", "Select different Modbus registers for Active Energy",
"Enable HTTP CORS", "Enable HTTP CORS",
"", "Enable internal pullup for single DS18x20 sensor",
"","","","", "","","","",
"","", "","",
"Enable shutter support", "Enable shutter support",