This is just a hello world program. Nothing special.
Revision 0:e3f4a7739b75, committed 2021-05-04
- Comitter:
- betaghminions
- Date:
- Tue May 04 03:51:08 2021 +0000
- Commit message:
- This is a simple hello world program.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r e3f4a7739b75 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue May 04 03:51:08 2021 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" +#include <iostream> +#include <cstdio> +#include <string> + +// main() runs in its own thread in the OS +int main() +{ + HelloWorld alpha(5); + std::string shortCircuit = "Don't disassemble "; + std::cout<< ShortCircuit << " " << "Hello World." << endl; + return 0; +} \ No newline at end of file