![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Test code publishing
Dependencies: mbed
main.cpp@0:39d2e2c55901, 2016-02-16 (annotated)
- Committer:
- jedh
- Date:
- Tue Feb 16 20:02:28 2016 +0000
- Revision:
- 0:39d2e2c55901
test code
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jedh | 0:39d2e2c55901 | 1 | #include "mbed.h" |
jedh | 0:39d2e2c55901 | 2 | |
jedh | 0:39d2e2c55901 | 3 | Timer t; |
jedh | 0:39d2e2c55901 | 4 | |
jedh | 0:39d2e2c55901 | 5 | int main() |
jedh | 0:39d2e2c55901 | 6 | { |
jedh | 0:39d2e2c55901 | 7 | t.start(); |
jedh | 0:39d2e2c55901 | 8 | printf("Hello World!\n"); |
jedh | 0:39d2e2c55901 | 9 | t.stop(); |
jedh | 0:39d2e2c55901 | 10 | printf("The time taken was %f seconds\n", t.read()); |
jedh | 0:39d2e2c55901 | 11 | } |