hey, I have this 48x48 pixel panel, that I would like to control, but so far I have had no luck, the panel is a 1/6 scanrate using ABC as address lines.
I have the following picture of the scanning pattern, I hope someone can help me.
I am still very new to working with LED matrix panels
That’s definitely a one off which I don’t think is supported, you’ll have to write your own pane mapper.
Also, you say it’s 1/6, so you can control 12 lines, which means that for 48 lines, each line is actually 4x deep, or 192 pixels wide, correct?
That’s probably the widest I’ve heard about so far.
I figured that I would have to write my own multiplexing if I want to use this library, unfortunately I have no idea how to do it, I am really new to controlling LED matrix panels.
but yeah you are correct I think, it would seem you have 192 LEDs that are controlled at the same time per data group.
Right. So basically you have 3 options
- learn how to fix the code for your own use
- switch to supported panels (the easiest option by far)
- pay/con someone to write the code for you, that usually involves sending that person a free panel + time spent depending on whether they are doing it for fun, or as a paid job
I guess I’ll go with option one, I am not very well versed in cpp, so I have a question:
virtual void MapSinglePanel(int visible_x, int visible_y,
int *matrix_x, int *matrix_y) const = 0;
in this line of code, are matrix_x and matrix_y pointers?
yep, pointers to ints. If you are learning C++ as you go along (good on you), I’d probably recommend a basic C primer (forget C++) with passing variables by value, or by pointer, and the usage of * and &.
much easier to learn on a 10 line program and then you can apply to a bigger one.