adafruit / Adafruit_CircuitPython_HT16K33

Adafruit CircuitPython driver for the HT16K33, a LED matrix driver IC.
MIT License
41 stars 29 forks source link

16x8 Backpack bas different layout than Featherwing #48

Closed makermelissa closed 4 years ago

makermelissa commented 4 years ago

It appears the 16x8 matrix backpack is laid out differently than the 16x8. Running the exact same code (the demo code), I get 2 different results: IMG_1514 IMG_1515

We probably either need a new Matrix object (8x16?) or to pass a parameter in to differentiate how positions are calculated.

makermelissa commented 4 years ago

Oops, photos updated.

caternuson commented 4 years ago

I'd vote for two different classes.

makermelissa commented 4 years ago

Thanks for the input, sounds good.

makermelissa commented 4 years ago

Ok, I just wanted to see what was done in the Arduino library and there are 2 different classes Adafruit_8x16matrix and Adafruit_8x16minimatrix. Since we're using Matrix16x8 for the mini one and would prefer to not break code if possible, I'll probably use something like Matrix16x8Backpack or MatrixBackpack16x8.

Docteh commented 3 years ago

I ended up spending a bunch of time wondering about the why. As the schematics for both 16x8 boards have the modules identically arranged. I did find the answer, the location of the pins underneath the module: Original module image

Newer Luckylight modules, posted July 2014 image