TRC
Dependents: RTC_terminal HorlogeSimple
Diff: RTC_IUT.h
- Revision:
- 3:e8cbd2214d3b
- Parent:
- 2:1a77823cf4c9
--- a/RTC_IUT.h Sat May 30 16:17:25 2020 +0000 +++ b/RTC_IUT.h Wed Jun 03 08:00:37 2020 +0000 @@ -1,16 +1,15 @@ -/// @file IHM_L476.h Bibliothéque de classe pour la carte L476 compatible IHM NBOARD +/// @file /// @mainpage /// /// /// -/// @author Bruno LARNAUDIE, IUT Cachan /// /// @note /// History /// v3.00 31/10/2019 -#include "mbed.h" +//#include "mbed.h" typedef int int32_t; @@ -32,9 +31,9 @@ /// /// Example: /// @code -#include "mbed.h" -#include "RTC_IUT.h" -Rtc rtc; +////#include "mbed.h" +////#include "RTC_IUT.h" +///Rtc rtc; /// ///int main() ///{ @@ -49,7 +48,7 @@ /// printf("epoc: %8X, time: %s\r\n", epoc, buf); /// while(1) { /// rtc.SetYear(2020); // Set the year - /// rtc.GetTimeString(buf); // read date time string DD:MM:YYY hh:mm:ss +/// rtc.GetTimeString(buf); // read date time string DD:MM:YYY hh:mm:ss /// epoc =rtc.GetTimeValue(); // Read second since 01/01/1970 /// printf("epoc: %8X, time: %s\r\n", epoc, buf); /// wait(0.9999);