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 1:aa36bb3b5a23, committed 2019-10-20
- Comitter:
- vadik1
- Date:
- Sun Oct 20 17:30:18 2019 +0000
- Parent:
- 0:05be8bebcde5
- Commit message:
- ww
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 |
--- a/main.cpp Sun Oct 20 13:12:04 2019 +0000
+++ b/main.cpp Sun Oct 20 17:30:18 2019 +0000
@@ -2,11 +2,15 @@
DigitalOut myled(LED1);
+
int main() {
- while(1) {
+ int i = 1;
+
+ while(1) {
myled = 1; // LED is ON
wait(0.2); // 200 ms
- myled = 0; // LED is OFF
+ myled = 0; // LED is OFF
+
wait(1.0); // 1 sec
}
}
--- a/mbed.bld Sun Oct 20 13:12:04 2019 +0000 +++ b/mbed.bld Sun Oct 20 17:30:18 2019 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/mbed_official/code/mbed/builds/e95d10626187 \ No newline at end of file +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file