-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exceptions in adafruit_matrixportal.matrix.Matrix constructor crash MatrixPortal M4 #9674
Comments
@danielmader There are actually two problems going on here:
So we need to fix problem 2, and you should try one less address line, due to problem 1. |
@dhalbert Thank you for giving this issue attention! I understand issue 1. However, I am still clueless how I can specify the different pinouts from the male plug of the MatrixPortal M4 board to the female socket of the WaveShare RGB matrix. I thought, the only way to do so is to pass the full list of address lines in the order of the pins. |
You should only list as many address pins as are needed -- in this case, four pins. The alt address pins are just substituted for the ones that would be chosen by the library. With an Adafruit matrix the pins used would be The screenshot you gave above for the Waveshare display is not the one I found: https://www.waveshare.com/rgb-matrix-p2.5-64x32.htm. The one you show does not have a It looks like the Waveshare board has the |
Thanks again, and yes, you were fully right about me posting a wrong pinout. I've taken it for this post only from an older version of the wiki without checking, please excuse. Unfortunately, your suggestion still yields a broken display, at least when I use the higher-level class
I've posted this as a question to the Adafruit forum, too. Maybe the discussion should be continued there: https://forums.adafruit.com/viewtopic.php?t=213775 |
I"ll follow up there for the pin order. |
The core issue here to address is that exception failures in the |
It turns out this diagram has several errors: The schematic is correct, of course: The pin-out of the Waveshare panel is the same as the Adafruit panels. Pinouts of our panels are discussed here: https://learn.adafruit.com/32x16-32x32-rgb-led-matrix/new-wiring. Note you have to look for the 64x32 ones. So you don't need to shuffle the address pins. I think these problems may be power-related, and will discuss that in the forums post. |
CircuitPython version
Code/REPL
Behavior
The used RGB matrix from WaveShare has a different pinout. Changing the relevant pins using a list for alt_addr_pins results in a hard crash:
Description
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: