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 0:10be5edb11b3, committed 2020-07-15
- Comitter:
- franck_mbed
- Date:
- Wed Jul 15 10:01:53 2020 +0000
- Commit message:
- IUT cachan Prog base Mbed 2
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 |
diff -r 000000000000 -r 10be5edb11b3 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Wed Jul 15 10:01:53 2020 +0000
@@ -0,0 +1,24 @@
+#include "mbed.h"
+
+DigitalOut myled1(LED1);
+DigitalOut myled2(LED2);
+DigitalOut myled3(LED3);
+
+DigitalIn bp0(p13);
+DigitalIn bp1(p12);
+DigitalIn bp2(p11);
+
+
+
+int main()
+{
+ bp0.mode(PullUp);
+ bp1.mode(PullUp);
+ bp2.mode(PullUp);
+ while(1)
+ {
+ myled1=bp0;
+ myled2=bp1;
+ myled3=bp2;
+ }
+}
diff -r 000000000000 -r 10be5edb11b3 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Jul 15 10:01:53 2020 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/5e5da4a5990b \ No newline at end of file