BangleApps/apps/torch/app.js

9 lines
211 B
JavaScript
Raw Normal View History

2020-03-03 15:59:00 +00:00
Bangle.setLCDPower(1);
Bangle.setLCDTimeout(0);
g.reset();
g.fillRect(0,0,g.getWidth(),g.getHeight());
// Any button turns off
setWatch(()=>load(), BTN1);
setWatch(()=>load(), BTN2);
setWatch(()=>load(), BTN3);