use mbed-src latest version and everything works well. RTC is also fine.
Dependencies: L3GD20 LIS3DH TextLCD mbed-rtos mbed
Use standard library mbed & mbed-rtos (GR-PEACH can run without mbed-src and special mbed-rtos).
Diff: main.cpp
- Revision:
- 9:de986e74bd93
- Parent:
- 8:4006b111c0d4
--- a/main.cpp Sat Feb 07 21:25:10 2015 +0000 +++ b/main.cpp Thu Feb 12 07:53:25 2015 +0000 @@ -156,11 +156,11 @@ void watch_time (void const *args) { uint32_t i = 0; - struct tm t; time_t seconds; char buf[64]; +#if 0 + struct tm t; -#if 1 t.tm_year = 15 + 100; t.tm_mon = 2 - 1; t.tm_mday = 7;