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
Revision 0:e3b6928a46fb, committed 2014-10-30
- Comitter:
- s1340735
- Date:
- Thu Oct 30 14:38:59 2014 +0000
- Child:
- 1:359e2525c524
- Commit message:
- lichtje
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 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Thu Oct 30 14:38:59 2014 +0000
@@ -0,0 +1,28 @@
+#include "mbed.h"
+
+DigitalOut rood(PTD1);
+DigitalOut groen(PTA12);
+DigitalOut blauw(PTD4);
+DigitalOut wit(PTA13);
+
+int main()
+{
+ while(1) {
+ rood = 1;
+ wait(1);
+ groen = 1;
+ wait(1);
+ blauw = 1;
+ wait(1);
+ wit = 1;
+ wait(1);
+ wit=0;
+ wait(1);
+ blauw=0;
+ wait(1);
+ groen=0;
+ wait(1);
+ rood=0;
+ wait(1);
+ }
+}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Thu Oct 30 14:38:59 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/9327015d4013 \ No newline at end of file