Search the Community
Showing results for tags 'unix-time'.
Hi, I've made a very simple RTC library using the RTC method in the PRCM library. It is intended for the CC3200 Launchpad and has only been tested on the CC3200 Launchpad so far. Overview: Uses the PRCM library It follows UNIX Time It was made with the "Time" library of the Sparkcore in mind. It has the following methods:ccRTC.zone() ccRTC.now() ccRTC.year() ccRTC.month() ccRTC.day() ccRTC.weekday() ccRTC.hour() ccRTC.minute() ** ccRTC.begin() Limitations: (Unfortunately there are a few actual limitations) It is accurate to only about 4 seconds an hour. (That is pretty bad, but