Closed cc96cc closed 7 years ago
As always when reporting an issue it is important to include the details.
what HAT are you talking about? There are several hardware adapters Pi -> Matrix out there. What flags are you giving the binary? How many displays chained? what size display?
Thanks for the help. RGB LED Matrix Adafruit HAT the flag that i am giving is --led-gpio-mapping=adafruit-hat (i also tried most/all the other flags I am using one 32 x 32 display scan rate = 1:16 I also tried all of the recommended troubleshooting tips
Ok, so you made sure to disable 1 wire communication which seems to be enabled on some Raspbian (though if you followed the tips you have Raspbian lite which did not exhibit this configuration issue last time I checked).
If you still get random output, maybe you got a display that has a differnent interface ? How does the connector look like ? Usually, there is some printing about the signals it expects.
Fixed it by not using the hats hub75 interface, will try with the hat again soon tho.
There is an self-explanatory API and a C++ example already. Even Python examples.
What is the question that these don't answer yet ?
when i try to rewrite the c++ example it seems i can never load the font in correctly
Can you give a command line you are using ?
not command line, just trying to use DrawText correctly rgb_matrix::DrawText(matrix, font, x, y + font.baseline(), color, &bg_color, line);
You said you have trouble loading the font, but you did not show how you load the font.
nevermind i got it
You really need to provide the necessary information here. Does it return false there ? Or does it continue, but the font is not usable ? Is the file readable ? If you need help, you need to provide everyone the relevant information to be able to help.
I've been having a lot of problems with the matrix HAT. Everything seems soldered and connected appropriately and I tried the suggestions on the readme yet when I run any of the tests the matrix gives a random display. When I play/fiddle with the IDC connection to the matrix or the power/gnd connection the matrix changes its display randomly. I've also tried this matrix/hat combo on both a Pi 3 and Pi 2 yielding the same results.