Contains the main execution of the clock uses headers to import functions
Dependencies: RTC-DS1307 SPI_TFT_ILI9341 TFT_fonts mbed tsi_sensor
Fork of TFT_Mikroelectronika_IL9341_sketchpad by
Diff: RTC.h
- Revision:
- 16:3cb9b1fbc039
- Parent:
- 11:1da15361a35b
- Child:
- 31:3255668e6b08
diff -r 50289d0ac834 -r 3cb9b1fbc039 RTC.h --- a/RTC.h Wed May 24 16:15:04 2017 +0000 +++ b/RTC.h Thu May 25 09:48:31 2017 +0000 @@ -1,7 +1,7 @@ #include "Rtc_Ds1307.h" Rtc_Ds1307 rtc(I2C_SDA, I2C_SCL); Rtc_Ds1307::Time_rtc tm_c = {}; -Rtc_Ds1307::Time_rtc tm_a = {}; +int tm_a_hr, tm_a_min = 0; char buffer[128]; int readptr = 0;