DART-6UL ADC

From Variscite Wiki
Revision as of 14:53, 25 January 2016 by Ron (talk | contribs) (Created page with "{{PageHeader|DART-6UL - ADC}} {{DocImage|category1=DART-6UL|category2=Yocto}} __toc__ ADC channel 0 is connected to the user button. It has pull-up to 3.3V. Reading the ADC va...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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/devices/soc0/soc.0/2100000.aips-bus/2198000.adc/iio:device0
$ cat in_voltage0_raw
push the user button
$ cat in_voltage0_raw