Skip to content

Commit

Permalink
Merge pull request espruino#2976 from pavelmachek/m_7_orloj
Browse files Browse the repository at this point in the history
Add astronomical clock
  • Loading branch information
gfwilliams authored Aug 18, 2023
2 parents f67d9eb + b98da07 commit 881dcde
Show file tree
Hide file tree
Showing 6 changed files with 448 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/orloj/ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.01: attempt to import
25 changes: 25 additions & 0 deletions apps/orloj/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Orloj ![](app.png)

Astronomical clock.

Written by: [Pavel Machek](https://github.com/pavelmachek)

The plan is to have an (analog) astronomical clock with a lot of
information on single dial.

It continuously displays information that can be obtained "cheaply",
that is current time, sunset/sunrise times, battery status and
altitude. One-second updates with useful compass can be activated by
tapping bottom right corner.

Display is split in three rings. Outside ring is for time-based data
with base of one week, and for non time-based data. Black dot
indicates day of week. Green foot indicates number of steps taken, red
battery symbol indicates remaining charge, black thermometer symbol
represents temperature, and black ruler symbol indicates
altitude. Number in bottom left corner is day of month.

In the middle ring, hour-based data are displayed. Black dot indicates
current hour, yellow symbols indicate sunset and sunrise, and black
symbols indicate moonset and moonrise.

1 change: 1 addition & 0 deletions apps/orloj/app-icon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require("heatshrink").decompress(atob("mEwwkB/4A+gAXWh4YWh4BCC6vwBxoIJGBYXXHhAUCJBYXXHhAXaVBgkHC7JGMEpDvQC48ACxoXHCx5WPC8BvPC8BgwgAAFC65nQ+AvWAFSjYaiyERUQ7QYGKS4EOyguUC7h4VFoIXUIgbBWAH4A/AH4APA=="))
Loading

0 comments on commit 881dcde

Please sign in to comment.