Blinks LED 11 on V1.5 BBC Microbit

Dependencies:   mbed

Revision:
0:350d52ba582b
Child:
1:2ba4f0cac458
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Nov 17 00:57:53 2021 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+
+DigitalOut C11(P0_5, 0); // low for colum 2
+DigitalOut LED11(P0_14); // high for row 2
+
+int main() {
+    while(1) {
+        LED11 = 1;
+        wait(0.2);
+        LED11 = 0;
+        wait(0.2);
+    }
+}