Closed zishant closed 7 years ago
Did you read the Troubleshooting section and followed all advice there ? After you have worked with all the advice there, what is not working ?
i turn off on board sound (dtparam=audio=off).but still not working. in my led panel there NC pin instead pin C,i used NC as a pin C it would create any issue. i have connect led panel manually to raspi using female to female pi.
NC means "not connected", so connecting C to it has no effect. This could be a 1:4 multiplexing panel. How big is your display ? Width x height ?
32x16
Ok, so you have 1:4 multiplexing.
You need to give --led-rows=8 --led-chain=2
for this one, then write a transformer that maps all the pixels to the right place. You can do that as little exercise yourself or look at #313 where someone wrote such a transformer for their board.
thanks ok sir i will try and let you know the result... so should i left the NC pin as it is or connect to pin C
Don't connect it. It is not needed.
i am not getting where should i change the code...pleas help me out i am stuck from last four days.
shall i change in transformer.cc file and also which function... i am little slow in c++ please help me out...
yes, the simplest is if you copy a transformer and give it a different name. Then put in the code from #313 . You then can use this transformer in your code by using the ApplyStaticTransformer() call.
Actually I am using library so it's difficult to used my own transformation.cc Please let me know simple way... Let me know which function do I need to change in your transformation.cc
sir please give solution sir i need your help....asap i changed
void UArrangementTransformer::TransformCanvas::SetPixel( int x, int y, uint8_t red, uint8_t green, uint8t blue) { if (x < 0 || x >= width || y < 0 || y >= height_) return; const int slab_height = 2panelheight; // one folded u-shape const int base_y = (y / slab_height) panelheight; y %= slab_height; if (y < panelheight) { x += delegatee->width() / 2; } else { x = width - x - 1; y = slabheight - y - 1; } delegatee->SetPixel(x, base_y + y, red, green, blue); }
with new one void UArrangementTransformer::TransformCanvas::SetPixel(int x, int y, uint8_t red, uint8_t green, uint8_t blue) { int new_x = 0; int new_y = 0; if (y < 4 || (y > 7 && y < 12)) { new_x = (x -1) + (24 ((x / 8) + 1)) - 17; new_y = y; } else { new_x = x + (8 * ((x / 8) + 1)); newy = y - 4; } delegatee->SetPixel(new_x, new_y, red, green, blue);
i haven't check yet
If you use the library, you still can write your own transformer in your code, no problem. My suggestion is to just copy a sample implementation from the transformer.cc into your own code and modify that which might be simpler than doing it from scratch. The interface is public and you can write your own implementation and pass it to the public ApplyStaticTransformer().
I change void UArrangementTransformer::TransformCanvas::SetPixel function with my function which is from #313 still not working but change the behavior little bit.i think we need snake
Transformer
Hi hzeller,
The problem is solved.. but display gets hanged I don't know why
where should i add this.. matrix->ApplyStaticTransformer(rgb_matrix::P10outdoorTransformer());
i add like this... RGBMatrix *matrix = CreateMatrixFromOptions(matrix_options, runtime_opt); matrix->ApplyStaticTransformer(rgb_matrix::P10outdoorTransformer());
but still display hanged
What do you mean with 'hanged' ?
Suddenly it's stop displaying and display random patterns
Where should I call this ApplyStaticTransformer(rgb_matrix::P10outdoorTransformer()); in demo-main.cc
Did you read the troubleshooting section ? Did you follow the advice in removing the 1-wire configuration ? Are you running Raspbian-Lite ?
Oh I haven't remove I will.. It's just rasbian simple one
Thanks a lot Hzeller, Now its working fine...without and issue. but i want to display same message using two 32x16 panel parallel i.e 32x32..
Text-example is not working...for 1/4 scanning
Where should I change in text-example.cc for 1/4 scanning to be work....
You need to set your transformer of course to the RGBMatrix.
I noticed you support HDMI siphoning or mirroring (not sure of the term but it turns the tiles into a "monitor) with crop or scale, How do you apply this transformer to that? Also does this knock down the tiles from 12 to 6? or can a Pi3 still run the 12 with this transformer?
I haven't used HDMI bro..
On Jul 28, 2017 4:24 AM, "mbates14" notifications@github.com wrote:
I noticed you support HDMI siphoning with crop or scale, How do you apply this transformer to that? Also does this knock down the tiles from 12 to 6? or can a Pi3 still run the 12 with this transformer?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hzeller/rpi-rgb-led-matrix/issues/338#issuecomment-318509001, or mute the thread https://github.com/notifications/unsubscribe-auth/AOWgBd-XYFvB0DLH1KHf1l28u3ADWzcCks5sSRUXgaJpZM4Nzmw5 .
I should have been more clear when I said "you" in my post, I was referring to the Author of the project/library. Sorry.
@mbates14 make sure to not hijack non-related issues for your question to avoid confusion.
This library does not do anything with HDMI, and you can't capture HDMI directly. But someone built a framebuffer capture which then shows on a RGB matrix. Check out https://github.com/adafruit/rpi-fb-matrix
It's ok man....it's happen sometime
On Jul 28, 2017 6:47 AM, "mbates14" notifications@github.com wrote:
I should have been more clear when I said "you" in my post, I was referring to the Author of the project/library. Sorry.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hzeller/rpi-rgb-led-matrix/issues/338#issuecomment-318529757, or mute the thread https://github.com/notifications/unsubscribe-auth/AOWgBeO3X3WJQvp3u8QCtw8YG93LE7ZFks5sSTapgaJpZM4Nzmw5 .
I am using hzeller library but my pannel is not working well. it display some random pattern