Hello, I have a problem with the ESP8266 Audio library, it works fine but when I try to run the command **ledcWrite(ledChannel,6)** to activate a servo, the ESP8266 Audio library stops working. It is exactly the red box in the image
-
-
-
@jhon-valdiviezo I have been curious all week…why is it commented out?
-
I suppose the comment out is just for testing purpose (enable/disable the problem)
I also suppose the problem in the delay(300) which makes the processor to doing nothing for 300ms and might stop the audio playing. I am sure it is the better way to delay the LED by using a timestamp inside the loop. -
@holofloh good call, but if the // are removed then the ledc commands are “before” the open curly brackets { of the next line, so I am still confused!