Skip to content

tilden/pebble-sunclock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Pebble watch face, originally created (to the best of my understanding) by MichaelEhrmann, and then updated by KarbonPebbler, Boldo, Chad Harp, Bob TheMadCow and orgemd. (My apologies if I have left out any other contributors. If I have, please let me know.)

Instructions

Please refer to the Twilight Sunclock webpage for usage information.

Obtaining the Software

The best way to install the Twilight Sunclock is from the Pebble store, so that it is properly tracked by your phone's Pebble application. To obtain it, search the Pebble app store for Twilight Sunclock or click on this link.

If for some reason that doesn't work, you can also download Twilight Sunclock from My Pebble Faces.

History

2.1

Add configuration pages. Also switch to two-part version numbers so the Pebble application can (theoretically) auto-upgrade us. Switch build from SDK v2.0 beta 6 to SDK v2.8 (yeah, it had been a while).

2.0.1

Fully initialize text fields before displaying the watchface. Had avoided this due to display hesitations in Pebble v1.x, but Pebble 2.x doesn't have the same difficulty.

2.0.0

Initial port to Pebble version 2 environment.

Lineage

This version is a tweak of the updates posted by orgemd.

The following changes have been made to orgemd's version:

  1. Source code converted to use Pebble's SDK version 2 APIs.
  2. A considerable amount of code refactoring was done, both to reduce code space and hopefully to clarify the code.
  3. Some comments were added, at least for the parts I deciphered.
  4. A separate message window was added, along with comms code to query a new phone-based javascript component for location and timezone offset data. To keep from eating the battery alive the location query is run only once, each time the sunclock watchface is started.
  5. A couple routines were set up to provide a standardized watch-based persistence interface. This is used to save the returned location data and supply it onsubsequent restarts.
  6. Due to the above, there is no longer a compile-time setting for location. The watchface always obtains location dynamically, and will display an error message if it is not (ever) able to obtain one. But if it had previously saved a location in flash, it will use that value instead.

The following is a list of orgemd's changes from Bob TheMadCow's version:

  1. Moon phase is fixed so that it shows correctly.
  2. The watch hand has been slimmed down so that it obscures less.
  3. The day/date information has been changed to a single line such as "Mon Oct 8, 2013" rather than four separate pieces.
  4. The watch face has been shifted down to allow the single day/date line.
  5. The digital time on the watch face has been made much larger to be easier to read.
  6. The numbers 6,12,18,24 have been removed from the watch face to make it less cluttered.
  7. The hourly tick marks on the face have been made slightly larger.
  8. Some tweaks to the sunrise/sunset text display.

There is both a compiled version included, as well as the src and resources stuff needed to compile it yourself.

About

Twilight Sunclock: a daily almanac for your Pebble.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 69.0%
  • JavaScript 16.1%
  • C++ 8.3%
  • HTML 6.0%
  • Python 0.6%