Arduino "sketch" code for a simple LED clock using Adafruit GPS Shield & NeoPixel Ring.
Click on inline links for product-specific information & support.
This sketch was written for use with the ChronoDot RTC from MaceTech which uses the DS3231DS "Extremely Accurate I2C-Integrated RTC/TCXO/Crystal". According to MaceTech -
The I2C interface is very straightforward and virtually identical to the register addresses of the popular DS1337 and DS1307 RTCs, which means that existing code for the Arduino, Basic Stamp, Cubloc, and other controllers should work with no modification.
To see the register address table for ChronoDot's DS3231 RTC chip, click here
For help using the Ultimate GPS Shield, Module, or Breakout, follow Adafruit's helpful tutorial.
The latest library and example code for running the NeoPixel Ring can be found here. If you are new to NeoPixels (WS2812 RGB LEDs) there is a lot of great information in Adafruit's NeoPixel Überguide.
This work by David R Ratliff is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Based on a work at https://github.com/1ChicagoDave.