On Mon, Nov 12, 2018 at 7:32 PM <[email protected]> wrote:
>
>
> Hi,
>
> I would like to read the analog input pin AIN6. I googled and found that the 
> command
> cat /sys/devices/platform/omap/tsc/ain1
> should be able to read this pin.
>
> I however do not find this path on my beaglebone green wireless Linux image. 
> How do I read this pin AIN6 in such case. Do i have to add some configuration 
> in the dtb for the AIN6 pin?

debian@test-bbb-2:~$ cat /sys/bus/iio/devices/iio\:device0/in_voltage6_raw
2837

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgtGmQpXmLJKtJYADZArXMCoZxzBvfezev2hoAffTx89A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to