dotomatodayo

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
syosyo
Date:
Tue Sep 11 05:42:41 2018 +0000
Commit message:
DotMatrix

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 d8eebd636627 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Sep 11 05:42:41 2018 +0000
@@ -0,0 +1,16 @@
+#include "mbed.h"
+
+
+BusOut A_led(PA_7,PA_1,PA_11,PA_4,PB_1,PA_8,PB_1,PF_1);
+BusOut K_led(PB_3,PA_0,PA_5,PA_9,PA_6,PA_10,PA_12,PA_3);
+
+int main(){
+    while(1){
+        for(int i = 0;i < 8;i++){
+            K_led = 0b10000000;
+            A_led = 0b11111111;
+            K_led = K_led >> 1;
+                }
+        }
+}
+        
diff -r 000000000000 -r d8eebd636627 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Sep 11 05:42:41 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/e95d10626187
\ No newline at end of file