adrobo / Mbed 2 deprecated adrobo_template

Dependencies:   mbed adrobo

Fork of adrobo_template by yasuo hayashibara

Files at this revision

API Documentation at this revision

Comitter:
yasuohayashibara
Date:
Mon Apr 20 04:37:35 2020 +0000
Commit message:
This is a template project.

Changed in this revision

adrobo.lib Show annotated file Show diff for this revision Revisions of this file
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 00cd5d387b74 adrobo.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/adrobo.lib	Mon Apr 20 04:37:35 2020 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/yasuohayashibara/code/adrobo/#45772cb4e01c
diff -r 000000000000 -r 00cd5d387b74 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Apr 20 04:37:35 2020 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+#include "adrobo.h"
+
+BusOut led(LED1,LED2,LED3,LED4,LED5,LED);
+
+int main() {
+    int no = 0;
+    while(1) {
+        led = 1 << no;
+        no = (no >= 5) ? 0 : (no + 1);
+        wait(0.5);
+    }
+}
diff -r 000000000000 -r 00cd5d387b74 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Apr 20 04:37:35 2020 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file