Using GPIO 25, 26 as digital IN?

Greg Corson
Posts: 13
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?

Who is online

Users browsing this forum: No registered users and 2 guests