April 20, 2018 Leave a comment pinMode() on pin 13 causes watchdog reset and CPU freezes afterwards! Issue #801 Trying set the pin mode on GPIO13 causes watchdog reset and CPU freeze on hardware revision 0 of the ESP32 chip. Espressif documentation