TOP Contributors

  1. MIKROE (2759 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (139223 times)
  2. FAT32 Library (71732 times)
  3. Network Ethernet Library (57114 times)
  4. USB Device Library (47426 times)
  5. Network WiFi Library (43051 times)
  6. FT800 Library (42401 times)
  7. GSM click (29832 times)
  8. mikroSDK (28034 times)
  9. PID Library (26881 times)
  10. microSD click (26196 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

RTC

Rating:

16

Author: dany

Last Updated: 2016-02-18

Package Version: 2.5.0.0

Category: Timers (Real time clock)

Downloaded: 8122 times

Followed by: 2 users

License: MIT license  

For P16 and P18:RTC libraries for the PCF8583P and the DS1307, both for hardware I2c and software I2c. No alarm functions provided. Daylight Saving Time version available.
For P24: RTCC routines (internal RTCC), including the alarm functions.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "RTC" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "RTC" changes.

Do you want to report abuse regarding "RTC".

  • Information
  • Comments (4)

Library Blog

Libraries:

- RTC_PCF8583P (P16 and P18)

- RTC_PCF8583P_SoftI2c (P16 and P18)

- RTC2_DS1307 (P16 and P18)

- New: RTC_DS1307_Advanced (P16 and P18). DayLight Saving Time routines available, thanks to aCkO.

- RTCC (P24)

The zipfiles have the same content as the package.

 

Have Fun!

------------------------------------------------------------------------------------------------------------------------------------------------
2012-11-12: The microBasic package(s) ha(s)(ve) been added.

Only the .mcl files are available as "library" files: they are copied from the mikroPascal version (the mP and mB .mcl files are compatible - luckely - ).

If you want to see some sources: look into the mP versions.

The example files are still in mP, not in mB. (I do not have an mB licence, so I can not compile them).

Some of the helpfiles are also still referring to mP, but all library "interfaces" are available in the mB language.

----------------------------------------------------------------------------------------------------------------------------------------

2014-03-13: The mikroBasic files and zip files have been updated. All mB sources are present now (not tested if compilable though).

-------------------------------------------------------------------------------------------------------------------------------------- 2014-06-22 Changed the DS1307 library:

- Added the routines "SetRtc2_Time", "GetRtc2_Time",  "SetRtc2_Date" and "GetRtc2_Date"
- Renamed routine "Rtc2ClockOn" to "Rtc2SetClock"
- Added the function "Rtc2GetClock"
- Changed the routine "InitRtc2" (no automatic startup of the clock any more)
- Changed the routines "SetRtc2" and "GetRtc2" (added the "Day" value)
- Added conditional compilation for the Soft I2c variant

-------------------------------------------------------------------------------------------------------------------------------------- 2014-07-12. Added the RTC_Ds1307_Advanced library. DST (DayLight Saving Time) routines are available in it. Thanks aCkO!

--------------------------------------------------------------------------------------------------------------------------------------

2014-07-24: Added the possibility for the RTC2_Ds1307 and the RTC_DS1307_Advanced libraries to work with the I2c_TimeOut (see library http://www.libstock.com/projects/view/1052/i2c-with-timeout) routines. Prevents blocking due to the DS1307 e.g. not present.


2015-01-26: Replaced the mB files: all mB files are compilable now (which e.g. means that all "with" statements are dealt with). I could however not link and test the libraries (no mB licence).

ALSO FROM THIS AUTHOR

Tool: Pascal to C prototypes

10

Converts mPascal routineheaders to mC function prototypes (only for PIC).

[Learn More]

RTOS for PIC32

5

Pre-emptive RTOS for PIC32, written (almost entirely) in mikroPascal/mikroBasic/mikroC. The way of working is very easy to understand. The functionality is kept very limited with respect to other RTosses, to keep it simple. The library code only consists of 1 .mpas file...

[Learn More]

Tool: PIC Clear project

5

This tool enables you, in case of troubles, to delete the derived files (*.mcl etc...) in the project directories and the "Defs" directory. It also enables you to edit/check the .mpppi (project) file. For: mP for PIC, dsPIC and PIC32.

[Learn More]