Skip to main content
Version: 2.9.17 - 2.9.15

DS18B20

api.ds18b20GetTemp(pwrpin, datapin, id)

Returns temperature in milli degrees of Celsius (m°C) from DS18B20. In case of using multiple DS18B20 connected to one data pin, it's possible to address one DS18B20 with ID.

DS18B20 is functional after hardware changes. Also has to be allowed by the firmware.

api.ds18b20Search(pwrpin, datapin, num)

Prints into console address of all the devices.