GPIO initialization on the ESP32 in ESP-IDF December 28, 2025 Electronics Why explicit GPIO configuration in ESP-IDF is preferable to setting pin direction while assuming the rest of its state.