Adafruit 32x16 RGB LED Matrix 用のライブラリは Arduino Leonardoじゃ動かない

Last updated on

気づかなかった。

Adafruit 32x16 RGB LED Matrix を使ったプロダクトを作ってみています。

まず点灯実験と思って、document読み進めながら配線して、いざ、exampleの書き込み、と思ったら。

We have example code ready to go for these displays. It’s compatible with the Arduino Uno or Mega…
but not other boards like the Leonardo, nor “Arduino-like” boards such as Netduino…programming gurus might be able to port it to other microcontrollers by adapting the C++ source, but as written it does some pretty low-level, non-portable things.

あー、
接続したArduino、Leonardoだったわ。

公式サイトの方にもでっかく書いてました。確認不足。

attention

Overview | 32x16 and 32x32 RGB LED Matrix | Adafruit Learning System

追記

ちなみに試してみたところ、一応点灯はするけど発光パターンが正常ではない様子。ライブラリの修正は諦めました。