Skip to content

Commit

Permalink
HUB75 clock phase
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
softhack007 committed Aug 13, 2024
1 parent a77520a commit 5610548
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wled00/bus_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

1 comment on commit 5610548

@netmindz
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, it's one of the things we definitely need to be able to set in the UI

I'm a bit time-poor at the moment, but once I have a bit more free time I'm going to have another push at getting the dynamic settings UI pushed through upstream and can then go back to the hub75 specific settings

Please sign in to comment.