setUserDataByIndex()
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.setUserDataByIndex(deviceIndex, data)sensors: a variable of type DallasTemperature.
deviceIndex: device index.
data: two bytes stored.
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.