Reverse polarity on inputs?

1b206b6c4e1a2a1ea3eeed7c12bb7f328e40f678

ATTENTION
Do not use 5V on the ESP32 GPIOs, they support a maximum of 3.3V.
Connecting 5V to the ESP32 GPIOs could damage either the GPIO or even the ESP32.

RV - mineirin