Open kratsg opened 8 years ago
Note that for example, on the zc706, the path to the xadc temperature device is like so:
/sys/devices/soc0/amba@0/f8007100.ps7-xadc/iio:device0/in_temp0_raw /sys/devices/soc0/amba@0/f8007100.ps7-xadc/iio:device0/in_temp0_offset /sys/devices/soc0/amba@0/f8007100.ps7-xadc/iio:device0/in_temp0_scale
where (raw+offset)*scale produces the temperature in milliCelsius
(raw+offset)*scale
https://gist.github.com/kratsg/21725171cb7bda751697
Note that for example, on the zc706, the path to the xadc temperature device is like so:
where
(raw+offset)*scale
produces the temperature in milliCelsius