Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I tried the following example from the RTC page on MBED LPC1768:
#include "mbed.h" int main() { while(1) { time_t seconds = time(NULL); printf("Seconds since January 1, 1970: %d\n", seconds); wait(1); } }