Do something periodically on wake up after deep sleep or by pressing the button on-board.
On WeMos board , the pin
10kΩ pulled up to
+3V3 is already there. Remember to include it back with the
Ensure the followingIDE settings before flashing.
Serial output from the firmware.
A photo of the actual setup.
Wire up the hardware accordingly