TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 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 (139560 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57254 times)
  4. USB Device Library (47607 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42551 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26930 times)
  10. microSD click (26309 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: 8166 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

PIC Command Line Editor

5

Capable of, like a modem, receiving, editing and executing one (command) line of input. The code in this example project shows a command line editor that can be used in servers (big word) you build, based on PICs.

[Learn More]

Tool: Project configuration in text format, Standalone version

17

Tool that shows the project's configuration words content (in a readable format). This tool permits to add (part of) the configuration settings in a comment box in your project or as part of a forum post. For mP, mC and mB for PIC, dsPIC and PIC32. Stand Alone version.

[Learn More]

PS2 Mouse Read

5

Returns the Delta X (hor), the Delta Y values (vert), the Delta Z (scrolwheel) values and the button status if one of those has changed. Only tested on P18 with 48 MHz MCU clock (will work probably also on 16 and on lower MCU clock speeds).

[Learn More]