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_Lektion02d by
Revision 3:06932b9805d2, committed 2016-01-29
- Comitter:
- Leonard_Haghofer
- Date:
- Fri Jan 29 13:49:35 2016 +0000
- Parent:
- 2:2b9c91113eb3
- Commit message:
- f
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Jan 06 13:34:10 2016 +0000
+++ b/main.cpp Fri Jan 29 13:49:35 2016 +0000
@@ -24,10 +24,49 @@
wait(0.2);
led=0x01; //LED 0000 0001 Hex 01
wait (0.2);
- led=0x03; //LED 0000 0011 Hex 03
+ led=0x03;
+ wait (0.2);
+ led=0x06;
+ wait (0.2);
+ led=0x0C;
+ wait (0.2);
+ led=0x18;
+ wait (0.2);
+ led=0x30;
+ wait (0.2);
+ led=0x60;
+ wait (0.2);
+ led=0xC0;
+ wait (0.2);
+ led=0x80;
+ wait (0.2);
+ led=0x00;
+ wait (0.2);
+ led=0x80;
+ wait (0.2);
+ led=0xC0;
+ wait (0.2);
+ led=0x60;
+ wait (0.2);
+ led=0x30;
+ wait (0.2);
+ led=0x18;
+ wait (0.2);
+ led=0x0C;
+ wait (0.2);
+ led=0x06;
+ wait (0.2);
+ led=0x03;
+ wait (0.2);
+ led=0x01;
+ wait (0.2);
+ led=0x00;
+ wait (0.2);
+
+ //LED 0000 0011 Hex 03
// Ergänze selber in HEX!
- wait (0.2);
+
led=0xFF; //LED 0000 0110
wait (0.2);
//LED 0000 1100
