I want to connect a button between 5v & D05 for example,
(I will also add a pull down resistor to drain the pin once I leave the button).
in order to set D15(Output) state as true once I press the button.
I used the interrupt code but I don’t want it to act as interrupt,
I want D15 to return to original state once I leave the button of D05.
Should I use while loop ?
someone have similar code to share ?