ESP32 pin layout

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jollybv
Posts: 136
http://meble-kuchenne.info.pl
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 41 times
Been thanked: 12 times

ESP32 pin layout

Post 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

BenR
Matrix Staff
Posts: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 698 times

Re: ESP32 pin layout

Post 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

jollybv
Posts: 136
Joined: Mon Mar 08, 2021 11:25 am
Location: Cape Town South Africa
Has thanked: 41 times
Been thanked: 12 times

Re: ESP32 pin layout

Post by jollybv »

Hi Ben

Thanks that will help a lot

Post Reply