setUserData()Stores two bytes on the supported device at the specified index. Note that this functionality is not compatible with alarm as it uses the same bytes on the device. sensors.setUserData(deviceAddress, data)
sensors: a variable of type DallasTemperature.
deviceAddress: pointer to an 8 byte array containing the address.
data: two bytes stored.