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 2:b6bb08a9723d, committed 2019-05-20
- Comitter:
- AndersonIctus (anderson.ictus@gmail.com)
- Date:
- Mon May 20 20:23:27 2019 -0300
- Parent:
- 1:794a88b39544
- Child:
- 3:a02fcd753ae3
- Commit message:
- comitando inicio
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun May 19 18:15:41 2019 +0000
+++ b/main.cpp Mon May 20 20:23:27 2019 -0300
@@ -1,5 +1,16 @@
#include "mbed.h"
+DigitalOut led1 (LED1);
+
int main () {
+ int count = 0;
+ while(count ++ < 10){
+ led1 = 1;
+ wait(0.4);
+ led1 = 0;
+ wait(0.2);
+ }
+
+ led1 = 0;
return 1;
}