![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
LoRa Access Point 1.5.2018
Dependencies: mbed ds3231 SX1276Lib_LoRa_Access_Point
Diff: RTC.h
- Revision:
- 11:376bfcdda0d4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RTC.h Sat May 08 16:23:46 2021 +0000 @@ -0,0 +1,35 @@ +#ifndef RTC_H +#define RTC_H + +/* +#include "mbed.h" +#include "SDFileSystem.h" +//#include "RFM95W.h" +#include "DS3231.h" +#include "Board.h" +//#include "HC05.h" + + +class Rtc +{ +private: + char actual_time[30]; + int hour; + int minute; + int second; + + int dayOfWeek; + int date; + int month; + int year; + +public: + Rtc(); +// Rtc(PinName sda, PinName scl); + void Init(); + char* GetTime(); +}; + +extern Rtc rtcClock; +*/ +#endif \ No newline at end of file