Changes

Jump to: navigation, search

Physical devices mapping (BELK/BXELK)

86 bytes added, 16:36, 10 April 2019
Temperature sensor
# Tcpu
TEMP_RAW=`cat $path_dev_soc_adc/sys/devices/soc0/amba/f8007100.adc/iio:device0/in_temp0_raw`TEMP_OFFSET=`cat $path_dev_soc_adc/sys/devices/soc0/amba/f8007100.adc/iio:device0/in_temp0_offset`TEMP_SCALE=`cat $path_dev_soc_adc/sys/devices/soc0/amba/f8007100.adc/iio:device0/in_temp0_scale`
TEMP=`awk "BEGIN {print (($TEMP_RAW+$TEMP_OFFSET)*$TEMP_SCALE)/1000}"`
echo "Cpu Temp: ${TEMP}
</pre>

Navigation menu