Add files via upload

master
Ephraim Amiel Yusi 2020-05-27 23:15:54 +10:00 committed by GitHub
parent 25b3dc7fa8
commit 52d2fa2efd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -93,7 +93,7 @@ drawBattery();
var secondInterval = setInterval(()=>{
drawTimeDate();
}, 5000);
}, 60000);
// Stop updates when LCD is off, restart when on
Bangle.on('lcdPower',on=>{
@ -101,7 +101,7 @@ Bangle.on('lcdPower',on=>{
secondInterval = undefined;
if (on) {
//Screen on
setInterval(drawTimeDate, 5000);
setInterval(drawTimeDate, 60000);
drawBPM(HRMstate);
drawTimeDate();
drawBattery();
@ -152,4 +152,3 @@ Bangle.on('HRM', function(hrm) {
//Bangle.on('step', function(up) {
// console.log("Step");
//});