Modifying library for Double HUB-75 #265
harissutanrafiq
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
hi @harissutanrafiq , wondering, what is the reason/benefit/possible enhancement or control in the program by spliting to multiple hub? it cost a pin/lat. |
Beta Was this translation helpful? Give feedback.
1 reply
-
how i can identified or split a data is for upper (rows) or for lower (rows) if i use 128 x 64 pixel..? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I try modified your library fo support double hub 75, hub75-1 and hub 75-2
like hiudu controller, split using diferent lat pin
HUB 75-1 LAT_PIN 22
HUB 75-2 LAT_PIN 26
First i change this line
i2s_parallel_config_t cfg = { .gpio_bus={_cfg.gpio.r1, _cfg.gpio.g1, _cfg.gpio.b1, _cfg.gpio.r2, _cfg.gpio.g2, _cfg.gpio.b2, _cfg.gpio.lat, _cfg.gpio.oe, _cfg.gpio.a, _cfg.gpio.b, _cfg.gpio.c, _cfg.gpio.d, _cfg.gpio.e, _cfg.gpio.lat2, -1, -1,-1}, .gpio_clk=_cfg.gpio.clk, .sample_rate=_cfg.i2sspeed, .sample_width=ESP32_I2S_DMA_MODE, .desccount_a=desccount, .lldesc_a=dmadesc_a, .desccount_b=desccount, .lldesc_b=dmadesc_b, .clkphase=_cfg.clkphase };
And i added new define variable
#define BIT_LAT_2 (1 << 13)
And change MatrixPanel_I2S_DMA::clearFrameBuffer(bool _buff_id) line 640
row[dma_buff.rowBits[row_idx]->width - 2] |= BIT_LAT_2;
But thereis noise on second row
any idea ..?
Beta Was this translation helpful? Give feedback.
All reactions