Push button added for esp32 to trigger a sequence

Job ID: 36520697

Budget: $30 – $250 USD

I have working lolin Wroom esp32 code in platformio. Currently I use a web interface and a virtual button. When you push the virtual button it begins an event making a light activate for a set time.

I want to add a physical push button to my device to do the same thing. So the user can either use the web interface virtual button or can push the momentary button on the device by pushing and releasing it which will then run the event sequence just like the virtual

So I need someone to help me make this code addition for the button

It’s very simple should not take more than 30 min if you know what your doing