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.

Dependencies:   PCF2127 mbed

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
PCF2127T is in SO16 package

Files at this revision

API Documentation at this revision

Comitter:
nxp_ip
Date:
Wed Dec 10 02:08:15 2014 +0000
Parent:
1:86dc8dfe6a20
Commit message:
version to include latest library

Changed in this revision

PCF2127.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 86dc8dfe6a20 -r 47151300f95a PCF2127.lib
--- a/PCF2127.lib	Wed Dec 10 01:45:09 2014 +0000
+++ b/PCF2127.lib	Wed Dec 10 02:08:15 2014 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/users/nxp_ip/code/PCF2127/#db76c68f998f
+http://developer.mbed.org/users/nxp_ip/code/PCF2127/#e2a6ac61fcbd
diff -r 86dc8dfe6a20 -r 47151300f95a main.cpp
--- 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 );
 }
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-