Place to put your Basic demos and examples

Moderator: Mmiscool

User avatar
By ssylca
#73729 Hi,

Could someone confirm the GPIO to use for the function 'temp()' using the Dallas DS18B20 and the ESP8266-12E.
Also is it possible to configure another GPIO port to work with the DS18B20. I am using a number of the GPIOs to multiplex the 1 analog input on the ESP to 8 inputs using a 4051 multiplexer IC , the assigned 'temp()' input may not be free.
User avatar
By Electroguard
#73782 The Doc specifically states gpio02, and offers no way to specify an alternative.

Shouldn't matter though, either you have a spare gpio available or not - if so and it isn't gpio02, then just swap it with whatever is using gpio02 to free it up for Dallas 1-wire.