Add files via upload

master
xxDUxx 2021-12-15 10:09:06 +01:00 committed by GitHub
parent e02aa170df
commit 84f7d0467f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 0 deletions

16
apps/showimg/app.js Normal file
View File

@ -0,0 +1,16 @@
g.reset();
g.clear();
g.drawImage(require("Storage").read("showimg.user.img"),0,0);
drawTimeout = setTimeout(function() {
load();
}, 60000);
setWatch(function() {
load();
}, BTN, { repeat:false, edge:'falling' });
var savedOptions=Bangle.getOptions();
Bangle.setLCDBrightness(1);
var newOptions={
lockTimeout:60000,
backlightTimeout:60000
};
Bangle.setOptions(newOptions);