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]
Rating:
Author: Larry Reisinger
Last Updated: 2012-06-28
Package Version: 1.0.0.0
Example: 1.0.0.0
Category: Timers (Real time clock)
Downloaded: 1967 times
Not followed.
License: MIT license
This is too small to bother with a library, these are just some snippets of code that have been tested with a Microchip MCP7940N RTC.
Do you want to subscribe in order to receive notifications regarding "Microchip MCP7940N RTC example" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "Microchip MCP7940N RTC example" changes.
Do you want to report abuse regarding "Microchip MCP7940N RTC example".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
1340941120_microchip_mcp794_mikropascal_pic.zip [101B] | mikroPascal PRO for PIC |
|
This is just a couple of example procedures that have been tested with the Microchip MCP7940N RTC chip. This is a very inexpensive I2C RTC with 64 bytes of NVRAM, and easy battery backup.
*** Update ***
Needless to say, the I2C module needs to be initialized before using these procedures, using I2Cx_init().