TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (385 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 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 (139842 times)
  2. FAT32 Library (72209 times)
  3. Network Ethernet Library (57392 times)
  4. USB Device Library (47739 times)
  5. Network WiFi Library (43364 times)
  6. FT800 Library (42700 times)
  7. GSM click (29980 times)
  8. mikroSDK (28439 times)
  9. PID Library (26989 times)
  10. microSD click (26398 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: 8185 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: Bootloader HOST (windows) for PIC

1

This is (for a change) not a bootloader firmware (the bootloader part present in the PIC), but a bootloader Host for control of the PIC bootloader. It is compatible with the bootloader firmwares from mikroElektronika, and is capable of handling all PIC types. Original development: Joop Beunders.

[Learn More]

USB MSD Host Library

5

Library for making an USB host capable of reading and writing sectors from/to USB memory sticks (&quot;USB drives&quot; or &quot;pen drives&quot;).To read/write actual files from/to the USB memory stick you need still e.g. a Fat16 or Fat32 library (see example).

[Learn More]

CRTOS for PIC32

10

Cooperative Real Time Operating System (CRTOS) for PIC32

[Learn More]