From 5610548652505e289a1dadbd547465f6a8aa712c Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Tue, 13 Aug 2024 12:52:19 +0200 Subject: [PATCH] HUB75 clock phase `mxconfig.clkphase = false;` seems to help reduce flicker on some panels. @netmindz I think we should add a checkbox to the UI - something like "clocked on positive edge" (default = checked) which means clkphase = true. when unchecked, we set clkphase = false. --- wled00/bus_manager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/wled00/bus_manager.cpp b/wled00/bus_manager.cpp index 66cbd7f3..8783730e 100644 --- a/wled00/bus_manager.cpp +++ b/wled00/bus_manager.cpp @@ -623,6 +623,7 @@ BusHub75Matrix::BusHub75Matrix(BusConfig &bc) : Bus(bc.type, bc.start, bc.autoWh // mxconfig.i2sspeed = HUB75_I2S_CFG::HZ_10M; // experimental - 5MHZ should be enugh, but colours looks slightly better at 10MHz //mxconfig.min_refresh_rate = 90; //mxconfig.min_refresh_rate = 120; + // mxconfig.clkphase = false; // can help in case that the leftmost column is invisible, or pixels on the right side "bleeds out" to the left. #else USER_PRINTLN("MatrixPanel_I2S_DMA - Default pins");