Display 16x2 i RTC DS1339
Fork of RTC-DS1307 by
Revision 10:04e521aac9d8, committed 2015-02-19
- Comitter:
- jordifarre
- Date:
- Thu Feb 19 11:47:16 2015 +0000
- Parent:
- 9:5627b407e097
- Commit message:
- Aquest programa esta tret del programa Rtc_Ds1307_Sample ; //i esta modificat per controlar un DS1339; //Es un exemple molt sencill de mostrar per LCD la hora i la data que; //manten la pila
Changed in this revision
Rtc_Ds1307.cpp | Show annotated file Show diff for this revision Revisions of this file |
USBDevice.lib | Show annotated file Show diff for this revision Revisions of this file |
diff -r 5627b407e097 -r 04e521aac9d8 Rtc_Ds1307.cpp --- a/Rtc_Ds1307.cpp Wed Jun 26 21:05:46 2013 +0000 +++ b/Rtc_Ds1307.cpp Thu Feb 19 11:47:16 2015 +0000 @@ -6,7 +6,9 @@ #endif #include "debug.h" -const char *Rtc_Ds1307::m_weekDays[] = { "Saturday", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" }; +//const char *Rtc_Ds1307::m_weekDays[] = { "Saturday", "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" }; +//const char *Rtc_Ds1307::m_weekDays[] = { "Disabte", "Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres" }; +const char *Rtc_Ds1307::m_weekDays[] = { "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds" }; Rtc_Ds1307::Rtc_Ds1307(PinName sda, PinName scl)
diff -r 5627b407e097 -r 04e521aac9d8 USBDevice.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/USBDevice.lib Thu Feb 19 11:47:16 2015 +0000 @@ -0,0 +1,1 @@ +https://mbed.org/users/mbed_official/code/USBDevice/#354942d2fa38