Closed FedericoBusero closed 4 years ago
Both the original code as the latest version contain a memory leak in analogWrite: ESP32PWM objects are detached by using detachPin, but are not deleted from memory. Now it only creates a new ESP32PWM object when value is not 0 or 255
Both the original code as the latest version contain a memory leak in analogWrite: ESP32PWM objects are detached by using detachPin, but are not deleted from memory. Now it only creates a new ESP32PWM object when value is not 0 or 255