![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Changes done in ECG and BT
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_20sept_2017_4th_oct_2017 by
rtc.cpp
- Committer:
- nikitateggi
- Date:
- 2017-01-30
- Revision:
- 1:8316c23ec6b9
- Child:
- 4:6bd81bb1790d
File content as of revision 1:8316c23ec6b9:
#include "mbed.h" #include <stdio.h> #include "ds3231.h" #include "rtc.h" time_t rtc_read() { Ds3231 rtc(PTC11, PTC10); time_t epoch_time1; //char buff1[10]; epoch_time1 = rtc.get_epoch(); // sprintf(buff1 ,"%s", ctime(&epoch_time1)); return epoch_time1; }