Page 1 of 1

Board freezing, does not execute loop() if GPIO5 is set to input

Posted: Sun Aug 13, 2017 6:52 am
by dtmutsvanga
I was trying to use GPIO 5 for i2c communication and it did not work. I then noticed that setting GPIO5 to input in void setup()
(which is essentially what the wire library does) results in the board not executing the "loop()" function. What might be the problem?

Re: Board freezing, does not execute loop() if GPIO5 is set to input

Posted: Sun Aug 13, 2017 12:41 pm
by f.h-f.s.
I think that pin is the pin used for the SPI Flash chip Image

Re: Board freezing, does not execute loop() if GPIO5 is set to input

Posted: Sun Aug 13, 2017 1:07 pm
by WiFive
f.h-f.s. wrote:I think that pin is the pin used for the SPI Flash chip
No that's 6-11