Main Content

There are two ways to make the ESP32 GPIO stay at 0 or 1. You can call the #digitalwrite function, or you can go straight to the recorder. Im showing the second option today: how to go straight to the register and write in the memory. This way, the command will instantly change state. Thus, well first learn how to modify multiple GPIOs at once by using bitmasks. In our example today, we used five leds.”

Link to article