ESP8266 Watchdog WDT - From https://learn.sparkfun.com/tutorials/esp8266-thing-hookup-guide/using-the-arduino-addon
pinMode(12, INPUT_PULLUP); // Set pin 12 as an input w/ pull-up
while (digitalRead(12) == HIGH) // While pin 12 is HIGH (not activated)
yield(); // Do (almost) nothing -- yield to allow ESP8266 background functions
Serial.println("Button is pressed!"); // Print button pressed message.