Can't use digital GPIO of ESP32-Wrover-E2 from Arduino IDE

balage
Posts: 3
Joined: Mon Jul 06, 2020 11:21 pm

Can't use digital GPIO of ESP32-Wrover-E2 from Arduino IDE

Postby balage » Sun Aug 02, 2020 11:36 am

Hello Fellow users,

I am trying to use the GPIO of an ESP32 in Arduino IDE.

In a previous project this form of declaring the digital IO was good with an ESP32-S2:
#define RESETPIN A19

Now with the ESP32 it is not working. I have tried the followings with no success:
#define RESETPIN A19
or
#define RESETPIN 26
or
const int RESETPIN = 11;

I can check the IOS with a scope and can't see it is working. I have reinstalled the IDE in the meantime.

Has anybody any idea?

ESP_Sprite
Posts: 3758
Joined: Thu Nov 26, 2015 4:08 am

Re: Can't use digital GPIO of ESP32-Wrover-E2 from Arduino IDE

Postby ESP_Sprite » Sun Aug 02, 2020 1:46 pm

Well, that code just defines a pin... what does the code that actually uses that pin look like?

Who is online

Users browsing this forum: No registered users and 4 guests