1.adc dev调整

This commit is contained in:
payton 2024-01-26 17:19:47 +08:00
parent 4e877e2c2e
commit fa05807b6a

View File

@ -24,6 +24,8 @@ mem bit 0xF0020074 3 1 > /dev/null 2>&1
sleep ${DELAY}
mdev -s
echo 0x5 > /proc/adc
cat /sys/bus/iio/devices/iio\:device0/in_voltage0_raw
echo 0x3 > /proc/adc