BusOut

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
besam
Date:
Wed Jan 15 01:00:11 2020 +0000
Commit message:
Letzte Version

Changed in this revision

Mbed_BusOut.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 363428db0bed Mbed_BusOut.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Mbed_BusOut.cpp	Wed Jan 15 01:00:11 2020 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+ 
+BusOut myleds(LED1, LED2, LED3, LED4);
+ 
+int main() {
+    while(1) {
+        for(int i=0; i<16; i++) {
+            myleds = i;
+            wait(0.25);
+        }
+    }
+}
\ No newline at end of file
diff -r 000000000000 -r 363428db0bed mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Wed Jan 15 01:00:11 2020 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file