You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • He's gotta get music out of it too...

    :) If you use: http://www.espruino.com/Making+Music

    and then try

    var tune = "E   B C D   C B A   A C E   D C B   C D   E   C   A A   D F A   G F E   C E D   C B B   C D   E   C   A A";
    

    I just copied the notes off google, but I've messed up the rhythm a bit. If you change the positions of the spaces you should be able to get it to sound ok though :)

    Also: Simple hack, but if you connect a speaker between two PWM pins then you can get two tones at once :)

About

Avatar for Gordon @Gordon started