DavMartEs last edited by
Does anyone knows how to silent the digital background noise from the loudspeaker without cutting the speaker wires? Sketch alarms should still be audible.
Which environment are you developing in? Arduino, micropython, esp-idf?
zhufu86 last edited by
I use the code below. Works for me...
dac = machine.DAC(machine.Pin(25)) dac.write(0)
For arduino you should be able to use this,
there will still be a tiny sound, but barely audible