Send a notification message via Pushover to your smartphone if a button connected to GPIO 11 is pressed.
Connect momentary button and pull-up resistor to GPIO 11:
VCC
|
---
| | 47K
| |
---
|
|
+--------- GPIO 11
|
|
++ /
/
+/
|
|
GND