Akizuki 32x16 dot LED Matrix unit (K-03735) control library.

秋月電子の32×16ドットLEDマトリクス表示装置(K-03735)を制御するライブラリです。
バッファの内容をそのままLEDマトリクス装置に送ります。
LEDマトリクス表示装置は最大4台まで接続できるので、接続台数を必ず指定してください。(この台数でバッファのサイズを計算しています。)
行間表示は1msのdelayを入れています。パラメタで変更可能です。
このライブラリの呼び出し元は基本的にwhile()でループしてください。
初めてのライブラリなのでメンバ関数もドキュメントとかまだ最低限です。
おかしなところはぜひコメントをください。

表示例は以下ページをご覧ください。

Revision:
2:ddef08e13c8e
Parent:
1:2705be49d5e2
Child:
4:920c540c6a61
--- a/akiledmatrix.h	Sun Feb 17 14:38:20 2013 +0000
+++ b/akiledmatrix.h	Mon Jun 03 15:45:48 2013 +0000
@@ -70,7 +70,7 @@
                  PinName clock,
                  PinName latch,
                  PinName strobe,
-                 const unsigned int maxledunit);
+                 int maxledunit);
                                   
      /** Displays the contents of the buffer
       *
@@ -79,11 +79,11 @@
       * @returns
       *        void
       */
-     void display(const unsigned char *buffer, const unsigned int delay = 1000);
+     void display(const unsigned char *buffer, int delay = 1000);
  
 private:
     DigitalOut _sin1,_sin2,_sin3,_clock,_latch,_strobe;
-    unsigned int _maxledunit;
+    int _maxledunit;
 };
  
 #endif
\ No newline at end of file