ESP32 stop PWN signal

I'm using

ledcWrite();

function to turn a buzzer on which works and when trying the following three individually and together:

ledcWrite(channel, 0);
ledcWriteTone(channel, 0);
digitalWrite(16, LOW);

it still keeps buzzing unless you remove the signal phisicaly
Is there any available function to stop the PWM signal completely?

Also is there an API page for all the complete ESP32 arduino functions?

ESP32 LED Control API

and when trying the folloqing three

... then what?

take a look at

and
https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/ledc.html
for the doc

those API's from espressif are somewhat irrelevant to arduino ESP32 function as the function naming and useage is different and I've referenced my code according to ESP32 Arduino: Controlling a buzzer with PWM - techtutorialsx
But there is nothing about shutting the PWM off as the timer is still connected to the output and makes noise so not that helpful but thanks!

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.