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.
Diff: main.cpp
- Revision:
- 0:b9a45f0c6467
- Child:
- 1:02f0f5d98031
diff -r 000000000000 -r b9a45f0c6467 main.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Mon Jan 13 17:06:01 2020 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+#define Button1 p14
+
+BusOut myleds(LED1, LED2, LED3, LED4);
+//DigitalIn button(Button1);
+
+const int INIT = 0x03;
+
+int main() {
+ while(1) {
+ myleds = 0x05;
+ wait(0.2);
+ myleds = 0x0A;
+ wait(1.0);
+ }
+}