Skip to content

Conversation

wibbleboy
Copy link
Contributor

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.

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
@wibbleboy
Copy link
Contributor Author

thanks, have you tried the tutorial to verify all the demos/commands still work? the API has changed before, just want to make sure if it did again

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.

@ladyada
Copy link
Member

ladyada commented Jul 16, 2019

@PaintYourDragon fyi, im willing to take the risk that it works on previous boards too

@ladyada ladyada merged commit e9dbd94 into adafruit:master Jul 16, 2019
@ladyada
Copy link
Member

ladyada commented Jul 16, 2019

@wibbleboy thanks!

@wibbleboy wibbleboy deleted the patch-1 branch July 16, 2019 16:33
@hzeller
Copy link

hzeller commented Jul 16, 2019

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.

@wibbleboy
Copy link
Contributor Author

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.

@ladyada
Copy link
Member

ladyada commented Jul 16, 2019

@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 :)

@PaintYourDragon
Copy link
Contributor

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.

@hzeller
Copy link

hzeller commented Jul 16, 2019

Ok, sounds like we need to allow more slowdown for Pi4s.
I've extended the allowed range for this value to 5 in commit d73456c2164b182d06c9c87513fe3913f87a1994 ( hzeller/rpi-rgb-led-matrix@d73456c )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants