Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Task121 by
Revision 12:991c54e21f5f, committed 2020-07-16
- Comitter:
- noutram
- Date:
- Thu Jul 16 10:10:13 2020 +0100
- Parent:
- 11:d7337ffe7f85
- Commit message:
- stuff
Changed in this revision
| .gitignore | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d7337ffe7f85 -r 991c54e21f5f .gitignore --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.gitignore Thu Jul 16 10:10:13 2020 +0100 @@ -0,0 +1,3 @@ +BUILD +.mbed +mbed-os
diff -r d7337ffe7f85 -r 991c54e21f5f main.cpp
--- a/main.cpp Thu Jul 16 09:47:03 2020 +0100
+++ b/main.cpp Thu Jul 16 10:10:13 2020 +0100
@@ -13,9 +13,11 @@
//applications have a main function. This is
//out entry point in the software
int main() {
+ //Write a welcome message to the terminal
+ puts("Welcome to the University of Plymouth");
-// ALL the code is contained in a
-// “while loop”
+ // ALL the repearing code is contained in a
+ // “while loop”
while(1)
{
//The code between the { curly braces }
