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.
Dependencies: mbed
Revision 0:2366bfc35e27, committed 2018-02-14
- Comitter:
- Nydrel
- Date:
- Wed Feb 14 08:59:17 2018 +0000
- Child:
- 1:f5e6f3468ec3
- Commit message:
- Changed GPIO pin to p21;
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 Wed Feb 14 08:59:17 2018 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+
+DigitalOut myled(LED1);
+DigitalOut Ctrl(p21);
+
+int main() {
+ while(1) {
+ Ctrl = 1;
+ myled = 1;
+ wait(.2);
+ Ctrl = 0;
+ myled = 0;
+ wait(.2);
+ }
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Feb 14 08:59:17 2018 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/7130f322cb7e \ No newline at end of file