Closed makermelissa closed 4 years ago
Oops, photos updated.
I'd vote for two different classes.
Thanks for the input, sounds good.
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.
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
Newer Luckylight modules, posted July 2014
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_1515](https://user-images.githubusercontent.com/2681417/72396905-0eb64300-36f3-11ea-9ec3-38a470760f82.jpeg)
We probably either need a new Matrix object (8x16?) or to pass a parameter in to differentiate how positions are calculated.