Releases: Dlloydev/ESP32-ESP32S2-AnalogWrite
ESP32-ESP32S2-AnalogWrite 2.0.1
- Added phase column to pinsStatus function
- Fixed workaround for issue 5050 when using new boards manager link
ESP32-ESP32S2-AnalogWrite 2.0.0
Now analogWrite can assign a pin and contol PWM duty value, frequency, resolution and phase all from one function. This function now returns the PWM frequency reported from the ledc methods.
ESP32-ESP32S2-AnalogWrite 1.2.1
When using ESP32S2 devices, this version offers a temporary fix for ESP32-S2 PWM for a Servo pulse issue #5050 but with limited frequency range. Tested range is 8-bit: 4Hz to 2.5kHz, 13-bit 0.2Hz to 120Hz
ESP32-ESP32S2-AnalogWrite 1.2.0
Arduino's reference for analogWrite()
describes the PWM wave characteristics for various hardware architecture. The general operational characteristic is 8-bit duty cycle control where the output will be always off for value 0 and always on for value 255. With the various devices and timer modes, sometimes a bit correction is required to achieve full off or on. The ESP8266 follows this mode of operation, but with the different timer architecture on the ESP32 devices, the LEDc PWM operates in a different manner, where duty value 0 is always off, but duty value 255 will give an output that's 255/256 duty cycle (not fully on). This happens for any setting for bit resolution. As of this version 1.2.0, this condition is detected and corrected, where the hardware is programmed with 2^resolution (bits)^
, which drives the output signal fully on.
ESP32-ESP32S2-AnalogWrite 1.1.0
ESP32S2 Update
ESP32-ESP32S2-AnalogWrite 1.0.0
Initial Release