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.
Diff: Maple_alarm_clock.cpp
- Revision:
- 2:299a1c9a5795
- Parent:
- 1:aefa1992ce0f
- Child:
- 3:eec13a411e94
--- a/Maple_alarm_clock.cpp Mon Oct 10 11:45:51 2011 +0000
+++ b/Maple_alarm_clock.cpp Sun Oct 16 01:27:35 2011 +0000
@@ -75,7 +75,7 @@
copy_string(row1, 0, 2, int_to_hex2(d[RTC_REG_HOUR ] & 0x3f, s));
copy_string(row1, 3, 2, int_to_hex2(d[RTC_REG_MINUTE ] & 0x7f, s));
copy_string(row1, 6, 2, int_to_hex2(d[RTC_REG_SECOND ] & 0x7f, s));
- copy_string(row1, 10, 6, "------");
+ copy_string(row1, 9, 7, "-------");
if((d[RTC_REG_CONTROL2 ] & RTC_TIMER_PERIODIC ) != 0) { row1[ 9] = 'p'; }
if((d[RTC_REG_TIMER_CONTROL ] & RTC_TIMER_ENABLE ) != 0) { row1[10] = 't'; }
if((d[RTC_REG_CONTROL2 ] & RTC_TIMER_INTERRUPT_ENABLE) != 0) { row1[11] = 'i'; }