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


Reference Home

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.

×

Uploading the sketch to your Z-Uno:

Use this QR-code to include your device using Z-Wave Smart Start or triple click BTN button