Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 
00003 int main() {
00004     while(1) {
00005         time_t seconds = time(NULL);
00006         printf("Seconds since January 1, 1970: %d\n", seconds);
00007         wait(1);
00008     }
00009 }