Cleanup
parent
e2a3a93409
commit
b5d66a6649
|
|
@ -1,2 +1,3 @@
|
|||
0.01: Initial creation
|
||||
0.02: Debugging
|
||||
0.03: Debugging
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue