Demo code for PCF2127 (and PCF2129) library. Setting of time and displaying can be done on PC-terminal application through the USB Serial Port. PCF2127 and PCF2129 are high accuracy real-time-clock (RTC) module. This library provides simple interface to accessing clock information.
Demo code for PCF2127 library
Information
The "PCF2127" library works for PCF2127T, PCF2127AT, PCF2129T and PCF2129AT.
The device information is available on the component page and the library page.
PCF2127T is in SO16 package
Diff: main.cpp
- Revision:
- 2:47151300f95a
- Parent:
- 1:86dc8dfe6a20
--- a/main.cpp Wed Dec 10 01:45:09 2014 +0000 +++ b/main.cpp Wed Dec 10 02:08:15 2014 +0000 @@ -2,7 +2,7 @@ * A sample code for PCF2127 library * * @author Akifumi (Tedd) OKANO, NXP Semiconductors - * @version 1.7 + * @version 1.8 * @date 10-Dec-2014 * * PCF2127 is a "real time clock (RTC)" module which is including a Xtal and TCXO @@ -131,19 +131,3 @@ rtc.RAM_write( 16, (char *)texts[ t % 4 ], strlen( texts[ t % 4 ] ) + 1 ); } - - - - - - - - - - - - - - - -