master
Martin Zwigl 2025-02-23 23:23:44 +01:00
parent e2a3a93409
commit b5d66a6649
3 changed files with 6 additions and 15 deletions

View File

@ -1,2 +1,3 @@
0.01: Initial creation
0.02: Debugging
0.03: Debugging

View File

@ -2,21 +2,11 @@
Bangle.loadWidgets();
Bangle.drawWidgets();
let counter = 30;
function countDown() {
counter--;
g.clear();
// draw the current counter value
g.drawString(counter, g.getWidth()/2, g.getHeight()/2);
// optional - this keeps the watch LCD lit up
Bangle.setLCDPower(1);
}
g.drawString("TEST", g.getWidth()/2, g.getHeight()/2);
// call countDown every second
var interval = setInterval(countDown, 1000);
//
Bangle.setUI({
mode : 'custom',
back : Bangle.showClock,

View File

@ -1,7 +1,7 @@
{ "id": "coin_info",
"name": "Crypto-Coins Info",
"shortName":"Coins Info",
"version": "0.02",
"version": "0.03",
"description": "Crypto-Coins Infos with the help of the Coinmarketcap API",
"icon": "app.png",
"type": "bootloader",