DART-6UL ADC

From Variscite Wiki
Revision as of 23:55, 17 July 2020 by Harshesh (talk | contribs)
DART-6UL - ADC

ADC channel 0 is connected to the user button. It has pull-up to 3.3V.
Reading the ADC value will return 3000+ value in case of button released and 0+ in case of button pressed.

# cd /sys/bus/iio/devices/iio:device0
# cat in_voltage0_raw
push the user button
# cat in_voltage0_raw