cleanup and updated readme

pull/3646/head
noobejby 2024-11-06 13:26:40 +01:00
parent ec51398ef3
commit e730eceaf5
2 changed files with 36 additions and 3 deletions

View File

@ -1,7 +1,6 @@
require("Font8x16").add(Graphics);
require("Font7x11Numeric7Seg").add(Graphics);
require("Font5x7Numeric7Seg").add(Graphics);
require("Font5x9Numeric7Seg").add(Graphics);
require("Font4x5").add(Graphics);
@ -140,7 +139,6 @@ function draw(){
g.setBgColor(1,0,0);
g.setColor(1,1,1);
//Draw text
//g.drawRect(x1, y1, x2, y2);
g.setFont("8x16");
g.drawString('HOUR', 51, timeTextY+1);
g.drawString('MIN', 96, timeTextY+1);
@ -217,7 +215,7 @@ function draw(){
g.setTheme({bg:"#000",fg:"#fff",dark:true}).clear();
//draw();
//the following section is also from waveclk
//the following section is from waveclk
Bangle.on('lcdPower',on=>{
if (on) {
draw(); // draw immediately, queue redraw

View File

@ -0,0 +1,35 @@
# Back to the future Clock
<img src="https://user-images.githubusercontent.com/2981891/175355586-1dfc0d66-6555-4385-b124-1605fdb71a11.jpg" width="250" />
A watchface inspierd by <a target="_blank" href="https://apps.garmin.com/apps/d181bcf9-5421-42a5-b460-863e5e76d798">this garmin watchface</a>.<br/>
## Todo
- Improving quality of Fonts.
- More status icons.
- A way to change step golas.
- Improving bangle app performances (using functions for images and specialized array).
## Functionalities
- Current time
- Current day and month
- Steps
- Battery
- Step goal
## Screenshots
Clock:<br/>
## Usage
## Links
### code ispired by
advCasioBangleClock <a target="_blank" href="https://github.com/dotgreg/advCasioBangleClock">https://github.com/dotgreg/advCasioBangleClock</a>
93dub <a target="_blank" href="https://github.com/espruino/BangleApps/tree/master/apps/93dub">https://github.com/espruino/BangleApps/tree/master/apps/93dub</a>
### Creator
<a target="_blank" href="https://github.com/NoobEjby">https://github.com/NoobEjby</a>