Darron Nielsen
/
hello
just a test of how things work
Revision 2:cc5c85f21919, committed 2010-11-02
- Comitter:
- nielsen8
- Date:
- Tue Nov 02 22:48:43 2010 +0000
- Parent:
- 1:8c176d51adad
- Commit message:
- doxgen stuff did it work
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Nov 02 22:39:39 2010 +0000 +++ b/main.cpp Tue Nov 02 22:48:43 2010 +0000 @@ -1,23 +1,26 @@ -#include "mbed.h" -//! @author Darron Nielsen -//! @date today2010 - - -DigitalOut myled(LED1); -Timer t; - -/** hello the traditional first program that many people learn. -*/ -int main() { - while (1) { - myled = 1; - wait(0.2); - myled = 0; - wait(0.2); - t.start(); - printf("Hello World!\r\n"); - t.stop(); - printf("The time taken was %f seconds \n", t.read()); - t.reset(); - } -} +#include "mbed.h" + +DigitalOut myled(LED1); +Timer t; +/** hello the traditional first program that many people learn. + * + * look we not try to really do anything we just starting out + * + * + * + * + */ + +int main() { + while (1) { + myled = 1; + wait(0.2); + myled = 0; + wait(0.2); + t.start(); + printf("Hello World!\r\n"); + t.stop(); + printf("The time taken was %f seconds \n", t.read()); + t.reset(); + } +}