Short version: we've been screwed by the manufacturer. Looks like the vast majority of watches don't have a speaker in. However you can still get sound using the vibration motor as a speaker.
For instance uploading this:
require("Storage").write('.boot2',`Bangle.beep = function (time, freq) {
return new Promise(function(resolve) {
if ((0|freq)<=0) freq=4000;
if ((0|time)<=0) time=200;
if (time>5000) time=5000;
analogWrite(D13,0.1,{freq:freq});
setTimeout(function() {
digitalWrite(D13,0);
resolve();
}, time);
});
};`);
And restarting (long-press BTN3) will replace the beep function with one that uses the vibration motor. Not as loud but it'll still work ok.
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.
I have just published an update about this: https://www.kickstarter.com/projects/gfw/banglejs-the-hackable-smart-watch/posts/2792722
Short version: we've been screwed by the manufacturer. Looks like the vast majority of watches don't have a speaker in. However you can still get sound using the vibration motor as a speaker.
For instance uploading this:
And restarting (long-press BTN3) will replace the beep function with one that uses the vibration motor. Not as loud but it'll still work ok.