Sample Code of http://ohurochan.jp/blog/?p=446 Added SerialController to control BitPattern from PC via Serial. Based on https://developer.mbed.org/users/tandk1124/code/LED_BitPattern/

Dependencies:   mbed

Fork of LED_BitPattern by Takuma Arai

Added Control class for SeirialPC. You can change LED Lighting Bit Pattern from PC Serial. Type "1" to set countup. Type "0" to set countdown.

/media/uploads/tandk1124/bitpattern2log.jpeg

Revision:
3:af4bdd802643
Parent:
2:5a1cb5bdeae6
Child:
4:0cc67e76eaba
--- a/main.cpp	Mon Mar 06 05:08:44 2017 +0000
+++ b/main.cpp	Mon Mar 06 12:56:36 2017 +0000
@@ -34,6 +34,6 @@
                 loopCnt = 0;
             }
         }
-        wait(1);
+        wait(0.5);
     }
 }