Skip to content

Commit 8c0fcaa

Browse files
committed
hub75 - mxconfig.clkphase = false
1 parent 37a3141 commit 8c0fcaa

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

wled00/bus_manager.cpp

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -666,14 +666,6 @@ BusHub75Matrix::BusHub75Matrix(BusConfig &bc) : Bus(bc.type, bc.start, bc.autoWh
666666
mxconfig.gpio.d = 21;
667667
mxconfig.gpio.e = 12;
668668

669-
// mxconfig.double_buff = true; // <------------- Turn on double buffer
670-
// mxconfig.driver = HUB75_I2S_CFG::ICN2038S; // experimental - use specific shift register driver
671-
//mxconfig.latch_blanking = 3;
672-
// mxconfig.i2sspeed = HUB75_I2S_CFG::HZ_10M; // experimental - 5MHZ should be enugh, but colours looks slightly better at 10MHz
673-
//mxconfig.min_refresh_rate = 90;
674-
//mxconfig.min_refresh_rate = 120;
675-
// mxconfig.clkphase = false; // can help in case that the leftmost column is invisible, or pixels on the right side "bleeds out" to the left.
676-
677669
#else
678670
USER_PRINTLN("MatrixPanel_I2S_DMA - Default pins");
679671
/*
@@ -704,6 +696,15 @@ BusHub75Matrix::BusHub75Matrix(BusConfig &bc) : Bus(bc.type, bc.start, bc.autoWh
704696

705697
#endif
706698

699+
// mxconfig.double_buff = true; // <------------- Turn on double buffer
700+
// mxconfig.driver = HUB75_I2S_CFG::ICN2038S; // experimental - use specific shift register driver
701+
//mxconfig.latch_blanking = 3;
702+
// mxconfig.i2sspeed = HUB75_I2S_CFG::HZ_10M; // experimental - 5MHZ should be enugh, but colours looks slightly better at 10MHz
703+
//mxconfig.min_refresh_rate = 90;
704+
//mxconfig.min_refresh_rate = 120;
705+
mxconfig.clkphase = false; // can help in case that the leftmost column is invisible, or pixels on the right side "bleeds out" to the left.
706+
707+
707708
mxconfig.chain_length = max((u_int8_t) 1, min(bc.pins[0], (u_int8_t) 4)); // prevent bad data preventing boot due to low memory
708709

709710
USER_PRINTF("MatrixPanel_I2S_DMA config - %ux%u length: %u\n", mxconfig.mx_width, mxconfig.mx_height, mxconfig.chain_length);

0 commit comments

Comments
 (0)