message11

master
sebi5361 2019-12-02 19:35:55 +01:00
parent 68fbcd49a5
commit 69ce853d71
1 changed files with 5 additions and 7 deletions

View File

@ -1,4 +1,4 @@
(() => {
(function(){
// place your const, vars, functions or classes here
@ -104,18 +104,16 @@
});
// special function to handle display switch on
Bangle.on('lcdPower', (on) => {
Bangle.on('lcdPower', function(on){
if (on) {
drawWidgets();
// call your app function here
updateTime();
updateTime();
drawWidgets();
} else {
stopPlanning();
}
});
// call your app function here
Bangle.setLCDTimeout(30);
updateTime();
drawWidgets();
})();