Hello,
Does anyone have working examples with passive buzzer? Because when I try this:
analogWrite(A0, 0.5, { freq: 1000 } );
I have such message:
>Uncaught ReferenceError: "A0" is not defined at line 1 col 13 analogWrite(A0, 0.5, { freq: 1000 } );
I've also tried digital pins, but no sound in result(and no error).
Could anyone show working example? (https://www.espruino.com/Making+Music doesn't work for me)
Thanks
@Hansi started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hello,
Does anyone have working examples with passive buzzer?
Because when I try this:
I have such message:
I've also tried digital pins, but no sound in result(and no error).
Could anyone show working example? (https://www.espruino.com/Making+Music doesn't work for me)
Thanks