rhysperry111
When using a PWM_CONTROLLER block for hardware PWM on an ESP32 board I can't seem to be able to get a 0% or 100% duty cycle. Anything in the range 1-99% duty cycle works perfectly, however giving a value close to either always on or always off doesn't seem to change the duty at all (it will stick at whatever the previous duty cycle was).
 
Is this a limitation with OpenPLC, or is it more likely that it will need chasing up with the FastPWM library?
Reply 0 0
rhysperry111
After some investigation the issue seems to be with FastPWM. Will do some chasing
Reply 0 0
rhysperry111
Probably gonna create a new board .cpp file for the ESP32-s3 which moves everything over to LEDC for PWM as the maintainer of ESP32_PWM and ESP32_FastPWM (the same person) seems to have archived everything.
Reply 0 0
Reply