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.
Revision 0:e653f6cb0a04, committed 2019-11-21
- Comitter:
- cgoodger
- Date:
- Thu Nov 21 13:31:43 2019 +0000
- Commit message:
- Test 4
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu Nov 21 13:31:43 2019 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+DigitalOut red1(p21); //Assign digital output value of red1 to mbed pin p21
+AnalogIn(p17);
+void do_something(int param1);
+ int global_variable;
+ main() { global_variable = 1;
+ while(1) /* Stay in this loop */
+ {
+ if( global_variable )
+ red1=1;
+ }
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Nov 21 13:31:43 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file