Real Time Clock

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2008-07-06 | updated: 2013-05-20

Starts R.T.C. in a new cog. 

Tracks both time, and date, with days in month/leap year day correction.

(Rev 1.01 ... Added weekday data. Automatically generated, based on the date)

Time/date can be set using the following...

  1. Via direct writes to timekeeping registers
  2. Via time & date setting methods
  3. Via loading with a 32 bit packed Microsoft format time

Time/date can be read using the following...

  1. Via direct reads from timekeeping registers
  2. Via return as strings representing time, date, or day of the week.
  3. Via return of a 32 bit packed Microsoft format time.


Original File Upload
Package icon RTC_DEMO_-_Archive__Date_2008.07.11__Time_18.21.zip13.06 KB


[originally posted by Anonymous on 2011-09-28 21:52:51] This is absolutely great. Good work! Reply

[originally posted by Mathew Brown on 2011-11-27 12:34:40] You are right. This is probably the most efficent object i've seen. The use of pointers is very good. I'm a noobe, but this was a valuable learning tool for me. Thanks!!!