"C_SHAPE_STACKING" problem

#include <MatrixHardware_ESP32_V0.h>                // This file contains multiple ESP32 hardware configurations, edit the file to define GPIOPINOUT (or add #define GPIOPINOUT with a hardcoded number before this #include)
//#include "MatrixHardware_Custom.h"                  // Copy an existing MatrixHardware file to your Sketch directory, rename, customize, and you can include it like this
#include <SmartMatrix.h>

#define COLOR_DEPTH 24                  // Choose the color depth used for storing pixels in the layers: 24 or 48 (24 is good for most sketches - If the sketch uses type `rgb24` directly, COLOR_DEPTH must be 24)
const uint16_t kMatrixWidth = 64;       // Set to the width of your display, must be a multiple of 8
const uint16_t kMatrixHeight = 32;      // Set to the height of your display
const uint8_t kRefreshDepth = 36;       // Tradeoff of color quality vs refresh rate, max brightness, and RAM usage.  36 is typically good, drop down to 24 if you need to.  On Teensy, multiples of 3, up to 48: 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48.  On ESP32: 24, 36, 48
const uint8_t kDmaBufferRows = 4;       // known working: 2-4, use 2 to save RAM, more to keep from dropping frames and automatically lowering refresh rate.  (This isn't used on ESP32, leave as default)
const uint8_t kPanelType = SM_PANELTYPE_HUB75_16ROW_MOD8SCAN;   // Choose the configuration that matches your panels.  See more details in MatrixCommonHub75.h and the docs: https://github.com/pixelmatix/SmartMatrix/wiki
const uint32_t kMatrixOptions = (SM_HUB75_OPTIONS_C_SHAPE_STACKING);        // see docs for options: https://github.com/pixelmatix/SmartMatrix/wiki

SMARTMATRIX_ALLOCATE_BUFFERS(matrix, kMatrixWidth, kMatrixHeight, kRefreshDepth, kDmaBufferRows, kPanelType, kMatrixOptions);

const uint8_t kScrollingLayerOptions = (SM_SCROLLING_OPTIONS_NONE);
SMARTMATRIX_ALLOCATE_SCROLLING_LAYER(scrollingLayer1, kMatrixWidth, kMatrixHeight, COLOR_DEPTH, kScrollingLayerOptions);



void setup() 
{
  Serial.begin(115200);

  matrix.addLayer(&scrollingLayer1); 
  matrix.begin();

  scrollingLayer1.setMode(off);

  scrollingLayer1.setColor({0xff, 0x00, 0x00});

  scrollingLayer1.setSpeed(10);


  scrollingLayer1.setFont(font6x10);


  scrollingLayer1.setOffsetFromTop(0);


  scrollingLayer1.start("Layer 1", -1);
}

int i=0;

void loop() 
{
  Serial.print("Refresh Rate: ");
  Serial.println(matrix.getRefreshRate());
  delay(500);

  i++;
  scrollingLayer1.setOffsetFromTop(i);
  
  if(i==kMatrixHeight)
    i = 0;
}

I am having a problem as shown in the picture.

kMatrixOptions = (SM_HUB75_OPTIONS_NONE);

When I change it to , there is no problem.
But since I connect the panels in a “C” shape, I can’t get the results I want. How can I solve this problem?

From: ESP32 Port · pixelmatix/SmartMatrix Wiki · GitHub

Not Yet Fully Working

  • C-shaped Chaining of panels to create multiple rows is broken (Z-shaped is working)