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 HelloWorld by
Revision 3:6f02cd1c0b84, committed 2014-07-01
- Comitter:
- Masa3
- Date:
- Tue Jul 01 05:57:20 2014 +0000
- Parent:
- 1:03c191369089
- Commit message:
- Change LED from LED1 to LED3
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 03c191369089 -r 6f02cd1c0b84 main.cpp
--- a/main.cpp Sun Jan 01 20:57:57 2012 +0000
+++ b/main.cpp Tue Jul 01 05:57:20 2014 +0000
@@ -1,12 +1,15 @@
#include "mbed.h"
-DigitalOut myled(LED1);
+//DigitalOut myled(LED1);
+DigitalOut myled(LED3);
int main() {
while(1) {
myled = 1;
+ myled3 = 1;
wait(0.2);
myled = 0;
+ myled3 = 0;
wait(0.2);
}
}
