forked from espruino/BangleApps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from v1nc/standup
rename + fix typos
- Loading branch information
Showing
8 changed files
with
31 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Get Up | ||
|
||
Reminds you to getup every 20 minutes. Sitting to long is dangerous! |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
function remind() { | ||
Bangle.buzz(1000,1); | ||
g.clear(); | ||
g.setColor(0xF800); | ||
g.drawString("MOVE!", g.getWidth()/2, g.getHeight()/2); | ||
setTimeout(print_message,60000); | ||
} | ||
|
||
function print_message(){ | ||
g.setColor(0xF800); | ||
g.drawString("sitting is dangerous!", g.getWidth()/2, g.getHeight()/2); | ||
} | ||
//init graphics | ||
g.clear(); | ||
require("Font8x12").add(Graphics); | ||
g.setFont("8x12",2); | ||
g.setFontAlign(0,0); | ||
g.flip(); | ||
|
||
print_message(); | ||
setInterval(remind,60000); | ||
|
File renamed without changes
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.