-
Notifications
You must be signed in to change notification settings - Fork 169
Update library reference to support Pi 4 #58
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
Conversation
The existing commit reference for hzeller's library points to a version of which doesn't support the recently released Raspberry Pi 4. Edited the script to point to the new commit before running it and it started working fine on the Pi4.
Updated matrix library to use newer commit with additional features
Yes, I checked that each of the demos were working fine on the Pi4, but haven't been able to check that nothing is broken on previous versions of the Pi. |
|
@PaintYourDragon fyi, im willing to take the risk that it works on previous boards too |
|
@wibbleboy thanks! |
|
pi matrix author here: I didn't change the API noticeably since last time. I mostly changed the detection so that Pi4 and Pi3a+ is properly detected. So everything should be working fine including Pi4. Something that might come up and might be useful in a tutorial: since the Pi4 can be much faster outputting stuff to GPIO (I measured in the order of 130Mhz, almost twice as fast as Pi3), the --led-slowdown-gpio might need to be set to 2 for longer chains or slower panels. |
I'll be testing against 4 64x64 panels (not sure if this could be considered a "long chain" ;), but I'll feed back if I see anything out of the ordinary. |
|
@hzeller thanks for your work updating and maintaining this library ! i've updated the guide to indicate Pi 4's should start with a slowdown of 2 :) |
|
Tested on Pi 4, 3 and 1B+, works in all cases. Thanks everyone! Pi 4 required --led-slowdown-gpio=4 …at least with the particular matrix I was testing and with no GPIO4-18 jumper. Added notes in a couple places in guide to try values >2 if needed. Everything’s good with the latest Raspbian Buster (July 10th freshness date) … was previously using the initial June release, that one had some issues with the matrix install script. That release was very short-lived and isn’t likely to affect very many. If anyone encounters installation trouble, this might be the first thing to check. |
|
Ok, sounds like we need to allow more slowdown for Pi4s. |
The existing commit reference for hzeller's library points to a version of which doesn't support the recently released Raspberry Pi 4. Edited the script to point to the new commit before running it and it started working fine on the Pi4.