This sketch set time and date using compiler macros, and then send through serial port every five seconds
Dependencies: Hotboards_rtcc mbed
Revision 1:6270f452fd66, committed 2016-02-10
- Comitter:
- Hotboards
- Date:
- Wed Feb 10 18:16:00 2016 +0000
- Parent:
- 0:18a586e130b8
- Commit message:
- deleted second #include "mbed.h"
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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()