ds18b20_new_single_device() function
Create a new singe device bus DS18B20 device based on a 1-Wire bus (not enumerated) this function assumes that the device is a DS18B20 device and there is only one device on the bus
Arguments
config
DS18B20 configuration
ret_ds18b20
Returned DS18B20 device handle
Return value
esp_err_t - ESP_OK: Create DS18B20 device successfully - ESP_ERR_INVALID_ARG: Create DS18B20 device failed due to invalid argument - ESP_ERR_NO_MEM: Create DS18B20 device failed due to out of memory - ESP_FAIL: Create DS18B20 device failed due to other reasons