This sketch set time and date using compiler macros, and then send through serial port every five seconds
Dependencies: Hotboards_rtcc mbed
Diff: main.cpp
- Revision:
- 1:6270f452fd66
- Parent:
- 0:18a586e130b8
--- a/main.cpp Tue Feb 09 23:31:57 2016 +0000 +++ b/main.cpp Wed Feb 10 18:16:00 2016 +0000 @@ -26,7 +26,6 @@ I2C device(PB_9, PB_8); /*lets declare and rtcc instance */ Hotboards_rtcc rtcc(device); -#include "mbed.h" int main()