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
Fork of M0_Lektion02c by
Revision 3:80b8ddc2f3ad, committed 2016-01-29
- Comitter:
- Leonard_Haghofer
- Date:
- Fri Jan 29 13:07:49 2016 +0000
- Parent:
- 2:4d97fbc35b11
- Commit message:
- 02c
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 4d97fbc35b11 -r 80b8ddc2f3ad main.cpp
--- a/main.cpp Wed Jan 06 13:32:24 2016 +0000
+++ b/main.cpp Fri Jan 29 13:07:49 2016 +0000
@@ -22,12 +22,22 @@
led=0x0; //LED 0000 Hex 0
wait(0.2);
led=0x1; //LED 0001 Hex 1
- wait (0.2);
- led=0x2; //LED 0011 ->Hex 2
- // Ergänze selber in HEX!
-
- wait (0.2);
- led=0xF; //LED 1111
+ wait(0.2);
+ led=0x3; //LED 0011 ->Hex 2
+ wait(0.2);
+ led=0x7; // Ergänze selber in HEX!
+ wait(0.2);
+ led=0xF;
+ wait(0.2);
+ led=0x7;
+ wait(0.2);
+ led=0x3;
+ wait(0.2);
+ led=0x1;
+ wait(0.2);
+ led=0x0;
+ wait(1.0);
+ //LED 1111
//LED 0000
//LED 1000
// nun läuft der Balken wieder zurück!
