TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 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 (136620 times)
  2. FAT32 Library (69826 times)
  3. Network Ethernet Library (55883 times)
  4. USB Device Library (46223 times)
  5. Network WiFi Library (41860 times)
  6. FT800 Library (41075 times)
  7. GSM click (28942 times)
  8. PID Library (26401 times)
  9. mikroSDK (26316 times)
  10. microSD click (25328 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: 7832 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

USB HID CDC MSD composite device

5

This project uses all the available types of USB devices in the USB_OA library: HID (application echos chars send by the PC to the PC), CDC (application echos chars send by the PC to the PC), MSD (the contents of an SD/MMC card is presented to the PC as an extra drive).

[Learn More]

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]

Tool: Pascal to C prototypes

10

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

[Learn More]