Why are GPIOs 34 and 35 always LOW ?
Posted: Mon Jul 19, 2021 1:32 pm
I have a WROVER-B and I am trying to use GPIO32,33,34 and 35 as buttons. So when I press the button, it should put the pin to LOW.
The problem is that GPIO 34 and 35 are always LOW.
GPIO 32 and 33 act correctly (go LOW only when being pressed) but GPIO 34 and 35 are always LOW even though they aren't being pressed.
I did connect external Pull-up resistors to 34 and 35. They are still always LOW.
Why ?
The problem is that GPIO 34 and 35 are always LOW.
Code: Select all
#define RST_BUTTON 33
#define Input_1 32
#define Input_2 34
#define Input_3 35
pinMode(RST_BUTTON, INPUT);
pinMode(Input_1, INPUT);
pinMode(Input_2, INPUT);
pinMode(Input_3, INPUT);
delay(50);
digitalWrite(RST_BUTTON, HIGH);
digitalWrite(Input_1, HIGH);
digitalWrite(Input_2, HIGH);
digitalWrite(Input_3, HIGH);
delay(50);
I did connect external Pull-up resistors to 34 and 35. They are still always LOW.
Why ?