timer example for the NXP freedom platform

Dependencies:   mbed

Fork of frdm_timer by Freescale

main.cpp

Committer:
Kojto
Date:
2014-02-20
Revision:
5:0001916b280e
Parent:
1:15681077dea3
Child:
8:9ebf83f8337e

File content as of revision 5:0001916b280e:

#include "mbed.h"
 
Timer t;
 
int main() {
    t.start();
    printf("Hello World!\n");
    t.stop();
    printf("The time taken was %f seconds\n", t.read());
}