[ESP32] Controlling and reading a 4-pin PWM fan in ESP-IDF