BangleApps/apps/widhwt/app.js

14 lines
422 B
JavaScript

// Replace the "Loading..." box
// with our own message
g.clearRect(38, 68, 138, 108);
g.drawRect(38, 68, 138, 108);
g.setFontVector(13).setFontAlign(0, 0, 0).drawString("Wash...",
g.getWidth()/2,
g.getHeight()/2);
Bangle.buzz();
setTimeout(() => {
Bangle.buzz(1E3, 1);
setTimeout(() => load(), 2E3);
}, 35E3);