mdb_RealTimeClock

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: mathew boorman, created: 2010-01-27 | updated: 2013-05-02

 

Low resource RTC spin object.

No dedicated COG. Single instance is shared by multiple Objects. This version simply uses CNT and a pair of longs to track rollovers. It also uses one Lock. 99 Longs (with bst).

To operate correctly it needs to be polled at least twice per CNT rollover period. At 80Mhz this is about 30 seconds.

This includes its dependency on Bob Belleville's date_time_epoch (in Obex) It was loosley based on Mathew Brown's RealTimeClock.spin V1.01

I have plan to eventually implement methods to change the Propeller clock speed. This is required to keep a accurate time when the clock speed changes.

 

Original File Upload
AttachmentSize
Package icon MDB_RealTimeClock-bst-archive-100128-200210.zip6.18 KB