You are reading a single comment by @Hansi and its replies. Click here to read the full conversation.
  • 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

About

Avatar for Hansi @Hansi started