https://aruneworld.com/embedded/esp8266/esp8266-arduino-core/esp8266-arduino-core-interface-button/
ESP8266 Arduino-Core Interface – Button