TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (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 (136529 times)
  2. FAT32 Library (69724 times)
  3. Network Ethernet Library (55835 times)
  4. USB Device Library (46167 times)
  5. Network WiFi Library (41797 times)
  6. FT800 Library (40982 times)
  7. GSM click (28920 times)
  8. PID Library (26383 times)
  9. mikroSDK (26276 times)
  10. microSD click (25297 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: 7826 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: Timer-Prescaler

5

Tool (excel workbook) to help with the choice of the prescaler and settings of a timer. For PIC16/18, PIC24, dsPIC33 and PIC32.

[Learn More]

Tool: User Libraries in the .MLK file

5

This tool permits to change the order of "user" libraries defined in the .MLK file of a certain processor.
For mP, mC and mB, PIC, dsPIC and PIC32.

[Learn More]

LCD

11

* 2 (alternative) libs to drive LCD's (4 bits connections): - One lib specific for 2x16, - one more generic (upto 4 rows, 16-20 chars per row). * A library to drive LCD via I2c (PCF2116 based, 1 to 4 rows, 12 or 24 chars per row * A library to drive standard LCD's via I2c * A library to drive standard LCD's via SPI.

[Learn More]