mirror of https://github.com/espruino/BangleApps
cleanup and updated readme
parent
ec51398ef3
commit
e730eceaf5
|
@ -1,7 +1,6 @@
|
||||||
require("Font8x16").add(Graphics);
|
require("Font8x16").add(Graphics);
|
||||||
require("Font7x11Numeric7Seg").add(Graphics);
|
require("Font7x11Numeric7Seg").add(Graphics);
|
||||||
require("Font5x7Numeric7Seg").add(Graphics);
|
require("Font5x7Numeric7Seg").add(Graphics);
|
||||||
require("Font5x9Numeric7Seg").add(Graphics);
|
|
||||||
require("Font4x5").add(Graphics);
|
require("Font4x5").add(Graphics);
|
||||||
|
|
||||||
|
|
||||||
|
@ -140,7 +139,6 @@ function draw(){
|
||||||
g.setBgColor(1,0,0);
|
g.setBgColor(1,0,0);
|
||||||
g.setColor(1,1,1);
|
g.setColor(1,1,1);
|
||||||
//Draw text
|
//Draw text
|
||||||
//g.drawRect(x1, y1, x2, y2);
|
|
||||||
g.setFont("8x16");
|
g.setFont("8x16");
|
||||||
g.drawString('HOUR', 51, timeTextY+1);
|
g.drawString('HOUR', 51, timeTextY+1);
|
||||||
g.drawString('MIN', 96, timeTextY+1);
|
g.drawString('MIN', 96, timeTextY+1);
|
||||||
|
@ -217,7 +215,7 @@ function draw(){
|
||||||
g.setTheme({bg:"#000",fg:"#fff",dark:true}).clear();
|
g.setTheme({bg:"#000",fg:"#fff",dark:true}).clear();
|
||||||
//draw();
|
//draw();
|
||||||
|
|
||||||
//the following section is also from waveclk
|
//the following section is from waveclk
|
||||||
Bangle.on('lcdPower',on=>{
|
Bangle.on('lcdPower',on=>{
|
||||||
if (on) {
|
if (on) {
|
||||||
draw(); // draw immediately, queue redraw
|
draw(); // draw immediately, queue redraw
|
||||||
|
|
|
@ -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>
|
Loading…
Reference in New Issue