Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of PCF8563 by
Revision 1:bcea5c3f58f4, committed 2017-07-17
- Comitter:
- 3050311118
- Date:
- Mon Jul 17 14:03:29 2017 +0000
- Parent:
- 0:47c63ed3af91
- Commit message:
- dddd
Changed in this revision
| PCF8563.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/PCF8563.cpp Fri Jan 22 08:50:40 2016 +0000
+++ b/PCF8563.cpp Mon Jul 17 14:03:29 2017 +0000
@@ -1,7 +1,7 @@
#include "mbed.h"
#include "PCF8563.h"
-extern Serial dbg;
+extern Serial usart2;
PCF8563::PCF8563(PinName sda, PinName scl) : pcf8563_i2c (sda, scl)
{
@@ -109,7 +109,7 @@
buffer = buffer & 0x08;
if(buffer == 0x08)
{
- dbg.printf("== ALARM ON ==\r\n");
+ usart2.printf("== ALARM ON ==\r\n");
wait_ms(200);
alarmOff();
