When using NodeMCU, I want to toggle the state of GPIO pin, using a physical switch. When the switch is pressed, the switch state should toggle from low to high, or high to low.
I know I need to use interrupts here, however I am unable to find relevant information online. I need help with circuit to implement a switch for GPIO interrupt. What would be ideal resistor value etc.
I forgot to mention, i am using Tasmota firmware on NodeMCU.