![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Rtc class
Fork of rtc_class by
Diff: Date.cpp
- Revision:
- 5:fc8c66a7c87a
- Parent:
- 4:a4d39c018c65
- Child:
- 6:a52551f2f398
--- a/Date.cpp Mon Apr 20 08:35:58 2015 +0000 +++ b/Date.cpp Thu Apr 23 09:02:20 2015 +0000 @@ -1,7 +1,21 @@ +/*********************************** +name: date.cpp Version: 0.2 +author: PE HTL BULME +email: pe@bulme.at +description: + Real Time Clock (RTC8563) on HIMBED M0 - LPC11U24 + class Date inherited from class RTC8563 + Example methode GetDay implemented +ToDo: + implement GetYear, GetMonth; + Constructor to initialize Date on RTC + Alarm methode +***********************************/ + #include "mbed.h" #include "Date.h" -// http://developer.mbed.org/teams/HIMBED_3AHELI/code/rtc_func/wiki/Homepage +// https://developer.mbed.org/teams/HIMBED_3AHELI/code/rtc_func/wiki/Klasse-Date-von-RTC8563-ableiten uint8_t Date::bcdToUint(uint8_t const nybbles) { uint8_t result;