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:
6:3e4a21461691
Parent:
5:683d6fff1ebc
--- a/CtrlBase.hpp	Tue Mar 07 00:14:42 2017 +0000
+++ b/CtrlBase.hpp	Tue Mar 07 01:51:18 2017 +0000
@@ -22,5 +22,5 @@
 
 class CtrlUART : public CtrlBase{
 public:
-    CtrlUART(): CtrlBase(pc){};
+    CtrlUART(): CtrlBase(uart){};
 };