setPullupPin()
Includes lift for strong pull-up is mandated in DS18B20 datasheet for parasitic * power (2 wires) setup. (DS18B20 datasheet, p. 7, section 'Powering the DS18B20'). Подтяжка включается автоматически при инициализации объекта DallasTemperature sensors.setPullupPin(_pullupPin)sensors: a variable of type DallasTemperature.
_pullupPin: pull-up pin.
nothing
Corrections and documentation improvements are accepted via fork & pull-request on GitHub. Suggestions and feature requests are welcome to the Forum.
The text of the Z-Uno reference is based on Arduino Reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.