Throughout the Christmas break I tried to learn a little the basics of C ++ in order to write the project code
After learning a little about C ++, I started testing some tutorials on small led control projects using a push button, since I want to use button and led control in my project. That way I better understand the logic of the code and how the connection of the physical button and the led with esp32 should be set up.
First I tested if the led is working
The first project I tested was to keep the led on while the button is pressed: