RE: ADC and BeagleBone Python Library

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
silver2row
 
Posts: 180
Joined: Sat Jan 30, 2016 3:42 pm

RE: ADC and BeagleBone Python Library

Post by silver2row »

Hello,

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

Code: Select all

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

Seth

User avatar
drewfustini
 
Posts: 944
Joined: Sat Dec 26, 2015 1:19 pm

Re: RE: ADC and BeagleBone Python Library

Post by drewfustini »

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?

User avatar
silver2row
 
Posts: 180
Joined: Sat Jan 30, 2016 3:42 pm

Re: RE: ADC and BeagleBone Python Library

Post by silver2row »

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.

User avatar
drewfustini
 
Posts: 944
Joined: Sat Dec 26, 2015 1:19 pm

Re: RE: ADC and BeagleBone Python Library

Post by drewfustini »

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

User avatar
silver2row
 
Posts: 180
Joined: Sat Jan 30, 2016 3:42 pm

Re: RE: ADC and BeagleBone Python Library

Post by silver2row »

Hello,

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

Anyway, no issue.

Seth

Locked
Please be positive and constructive with your questions and comments.

Return to “Beagle Bone & Adafruit Beagle Bone products”