-
Notifications
You must be signed in to change notification settings - Fork 262
P5 Outdoor Chain Panel #765
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
Comments
#include <Arduino.h> #define PANEL_RES_X 64 // Number of pixels wide of each INDIVIDUAL panel module. #define VDISP_NUM_ROWS 2 // Number of rows of individual LED panels #define PANEL_CHAIN_LEN 2 // Don't change #define PANEL_CHAIN_TYPE CHAIN_TOP_RIGHT_DOWN #define PANEL_SCAN_TYPE FOUR_SCAN_32PX_HIGH MatrixPanel_I2S_DMA* dma_display = nullptr; using MyScanTypeMapping = ScanTypeMapping<PANEL_SCAN_TYPE>; VirtualMatrixPanel_T<PANEL_CHAIN_TYPE, MyScanTypeMapping>* virtualDisp = nullptr; void setup() { HUB75_I2S_CFG mxconfig( mxconfig.i2sspeed = HUB75_I2S_CFG::HZ_20M; dma_display = new MatrixPanel_I2S_DMA(mxconfig); virtualDisp = new VirtualMatrixPanel_T<PANEL_CHAIN_TYPE, MyScanTypeMapping>(
virtualDisp->setDisplay(*dma_display); for (int y = 0; y < virtualDisp->height(); y++) {
} delay(100); void loop() { // Do nothing here. |
I am also having this issue, similar code setup and have been trying so many combinations. |
Can you test first without using the Virtual Matrix class? Do you get output on the second chained panel when using using dma_display and setting the chain length to 2? |
The cause is that when the row is 2 or more, the value of line == y becomes 16 or more in 1/8 scan. I tested and succeeded with ZigZag. I am currently using it successfully with 2x3. Please refer to the part below that was added directly without creating a separate class. (sparcman add) inline VirtualCoords VirtualMatrixPanel::getCoords(int16_t virt_x, int16_t virt_y) if ((panel_scan_rate == FOUR_SCAN_32PX_HIGH) || (panel_scan_rate == FOUR_SCAN_64PX_HIGH)) {
. |
it seems for me that the lines below " // sparcman add" are the same as in the standard virtual panel class example. |
I tried various methods using the standard library and examples, but it was not displayed from Row 2. I confirmed through debugging messages that it was not displayed when the physical y coordinate was 16 or more. In addition, when using CHAIN_TOP_RIGHT_DOWN, there was a problem with the coordinates not matching, and the calculation for this was complicated, so I gave up for the time being, and I confirmed that it works normally when using CHAIN_TOP_RIGHT_DOWN_ZZ. |
test your setup with code below:
|
Uh oh!
There was an error while loading. Please reload this page.
Has anyone been able to control two P5 Outdoor LED panels arranged vertically?
It only works on LED panel 1, but LED panel 2 doesn't display any data. I'm sure the signal cables are connected correctly.
The text was updated successfully, but these errors were encountered: