Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18336

Re: Get analog (A0) with GPIO doesn't work (but works with mraa)

$
0
0

I've just spend a while looking at this. Here the quick answer:

 

Add in the following lines before pulling 214 high.

 

echo 261 > /sys/class/gpio/export 2>&1

echo high > /sys/class/gpio/gpio261/direction 2>&1

echo 1 > /sys/class/gpio/gpio261/value

 

Now the long answer will take more time than I have right at this moment, but it's something to do with the status of some of the pins that need to be set to a valid configuration before the analog pins will function. It's mentioned somewhere in the Emutex Muxing guide, but I need to spend more time at it to give a good explanation.

Rgds,

Dave.


Viewing all articles
Browse latest Browse all 18336

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>