ds18b20-thermometer

xod/common-hardware/ds18b20-thermometer

Reads temperature from a DS18B20 sensor. Expects single-drop bus setup, i.e. one thermometer on a port.
ds18b20-thermometer
@/ds18b20-thermometer
Reads temperature from a DS18B20 sensor. Expects single-drop bus setup, i.e. one thermometer on a port.
PORTport
Board port number the sensor is connected to.
UPDpulse
Triggers new update, i.e. temperature reading.
ds18b20-thermometer
PORTPORTUPDUPDTcTcDONEDONEERRERR
ERRpulse
Fires if reading failed
DONEpulse
Pulses when a reading is done and `Tc` is refreshed.
Tcnumber
The last read temperature value measured in °C.