Open DJDevon3 opened 1 year ago
MatrixPortal and PortalBase rely on the RGBMatrix module (which is basically a wrapper around protomatter). I'm kind of surprised it didn't fail on the import unless it just has very little RAM.
My thought process was if there's support for the M4 with that shield then it might work on the M7 iMX. It didn't even get past the import for RGBmatrix.
It did fail on import of the matrixportal and portalbase with a ram allocation error. I know those are rather large libraries which is why I try to run only the rgbmatrix library.
On the 6 panels I have I'm only running the rgbmatrix and framebufferio library instead. It cuts out a lot of the overhead. 128x96 MatrixPortal S3 demo.
True, but you don't need to import the top level (see https://learn.adafruit.com/creating-projects-with-the-circuitpython-matrixportal-library/choosing-your-modules). For the message board, I only used the matrix layer to handle the initialization.
I've never seen that layer map before. Was unaware you could cherry pick layers like that, that helps! Thank you. I'll try from adafruit_matrixportal.graphics import Graphics
which should give me access to rgbmatrix and displayio. Have my doubts much if any ram will be left over for buffer.
Currently have all the panels disassembled and working on 3D printing brackets. Will have to revisit this after it's structurally sound as 1 large panel. Wish I could use your bracket design but I'm using the 5mm pitch panels which are physically different and in a different configuration so have to design my own.
Purely as an experiment I attempted to use a Metro M7 with the RGB Matrix Shield in Circuit Python and it comes back with
ImportError: no module named 'rgbmatrix'
.Was advised in discord dev chat to make a feature request in Protomatter... even though I'm attempting to use it in Circuit Python? Attempted to add MatrixPortal and PortalBase libraries as a work around and it ran out RAM.
Maybe the M7 won't even run matrix panels? It's above my head and is a better idea for the devs to discuss if this is or is not a feasible method vs sticking with a Matrix Portal S3.
I have 6 panels running on the Matrix Portal S3... was just trying to see if the CPU of the iMX would make a positive difference.