Page 1 of 1

ESP32 pin layout

Posted: Wed Sep 08, 2021 2:12 pm
by jollybv
Hi Guys

Is there a place I can go to get the flowcode esp32 Wroom pin layout. Say for example I'm trying to connect the PWM component and i go to channel 1 that says PORTB,4 now if i look at the data sheets for the Eesp32 there is no PORTB,4 so what pin do I connect it to? I have searched and tried to find the pin layout with no luck

Re: ESP32 pin layout

Posted: Wed Sep 08, 2021 2:17 pm
by BenR
Hello,

We have just used ports as that's what Flowcode is used to using.

We have used 32-bit ports to try and avoid segmentation and if you look under the hood this is also what the chip uses as it's port IO registers.

PortA 0 = GPIO 0
PortA 1 = GPIO 1
...
PortA 30 = GPIO 30
PortA 31 = GPIO 31

PortB 0 = GPIO32
PortB 1 = GPIO33
etc

Re: ESP32 pin layout

Posted: Wed Sep 08, 2021 2:59 pm
by jollybv
Hi Ben

Thanks that will help a lot