Using GPIO 25, 26 as digital IN?

Greg Corson
Posts: 35
Joined: Sun May 20, 2018 9:16 pm

Using GPIO 25, 26 as digital IN?

Postby Greg Corson » Sun Jul 08, 2018 7:55 pm

I'm having a problem where connecting some signals to GPIO 25 and 26 seems to cause my I2C to become unstable.

I saw some messages in the (not arduino) parts of the forum that you have to turn off DAC1 and DAC2 to use these GPIO for input. Does this have to be done under arduino as well? If so, how do you do it?

Right now I just use

pinMode(25, INPUT);

and read them with

digitalRead(25);

Do I need to do something to turn off DAC1 & 2 to use GPIO 25 and 26 as input?

bobo1974
Posts: 26
Joined: Fri Feb 08, 2019 2:14 pm

Re: Using GPIO 25, 26 as digital IN?

Postby bobo1974 » Wed Oct 09, 2019 6:45 am

I am running into the same issue right now.
I tried to add: dac_output_disable(DAC_GPIO26_CHANNEL);
But same result.

Did you find a solution ? Thanks

Brain Scientist
Posts: 4
Joined: Thu Aug 15, 2019 10:15 pm

Re: Using GPIO 25, 26 as digital IN?

Postby Brain Scientist » Thu Oct 10, 2019 8:02 pm

Make sure WiFi is off.

Who is online

Users browsing this forum: No registered users and 66 guests