Black Lives Matter - Action and Equality. ... Adafruit joins the Stop Hate for Profit campaign.
0

RE: ADC and BeagleBone Python Library
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

RE: ADC and BeagleBone Python Library

by silver2row on Thu Jan 23, 2020 1:34 am

Hello,

Okay. So, I set up the adc subsystem like this:

Code: Select all | TOGGLE FULL SIZE
ADC.setup()


Is there a way to stop or cease this setup of the ADC subsystem on the BBB w/ this library?

Seth

silver2row
 
Posts: 177
Joined: Sat Jan 30, 2016 3:42 pm

Re: RE: ADC and BeagleBone Python Library

by drewfustini on Thu Jan 23, 2020 7:10 pm

I'm sorry but I don't understand what you mean by stop. Do you mean disable the ADC? Could you describe more of what you are trying to accomplish?

drewfustini
 
Posts: 928
Joined: Sat Dec 26, 2015 1:19 pm

Re: RE: ADC and BeagleBone Python Library

by silver2row on Thu Jan 23, 2020 7:28 pm

Hello,

Sure. I will try to explain further.

...

I wanted to turn off the AIN pins on the BeagleBone Black/Green/Wireless/etc w/ your library but I was not sure if that was possible.

Seth

P.S. I just remembered that the AIN pins run continuously.

silver2row
 
Posts: 177
Joined: Sat Jan 30, 2016 3:42 pm

Re: RE: ADC and BeagleBone Python Library

by drewfustini on Sun Jan 26, 2020 10:44 pm

The simplest solution I think would to use config-pin to change the mode of the ADC pins to another pinmux like GPIO.

drewfustini
 
Posts: 928
Joined: Sat Dec 26, 2015 1:19 pm

Re: RE: ADC and BeagleBone Python Library

by silver2row on Mon Jan 27, 2020 8:12 am

Hello,

Alright, I always thought those pins were not able to be changed via config-pin or a .dts file.

Anyway, no issue.

Seth

silver2row
 
Posts: 177
Joined: Sat Jan 30, 2016 3:42 pm

Please be positive and constructive with your questions and comments.