BangleApps/apps/hidcam/app.js

13 lines
289 B
JavaScript
Raw Normal View History

2020-04-17 14:55:35 +00:00
// place your const, vars, functions or classes here
// special function to handle display switch on
Bangle.on('lcdPower', (on) => {
if (on) {
// call your app function here
// If you clear the screen, do Bangle.drawWidgets();
}
});
g.clear();
// call your app function here