I have a simple led project
i.e. the blynk app has a button which turns the led on/off (toggle)
when the led is on the button is green when it is off the button is black
NOW
I added a physical button to the board (NodeMCU)
I wrote code so that when i press the button the led turns on/off (toggle)
to sum up
i can turn the led via the phone app and via the physical button
what i want is to notify the app when the physical button was pressed so it will change the button’s state
how do i do that?