code with new display driver ili9341
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of Int_Demo_09May2017_Suhasini_HRavg_Nik_BT_ba_update4thJuly17_nikita7july by
rtc.cpp
- Committer:
- nikitateggi
- Date:
- 2017-07-08
- Revision:
- 30:f2f48ed43aae
- Parent:
- 4:6bd81bb1790d
File content as of revision 30:f2f48ed43aae:
#include "mbed.h" #include <stdio.h> #include "ds3231.h" #include "rtc.h" time_t rtc_read() { Ds3231 rtc(PTC11, PTC10); time_t epoch_time1; epoch_time1 = rtc.get_epoch(); return epoch_time1; // return the time }