More brightness #559
Replies: 2 comments 2 replies
-
Shortly - no. |
Beta Was this translation helpful? Give feedback.
-
By the way, that the greater the number of scans in the matrix - for example, 16s for 64x32 16 scans - the lower its brightness. One of the reasons why manufacturers produce matrices with multi-line scanning - for example, the same 64x32, but with scan 8s - is to increase their brightness. |
Beta Was this translation helpful? Give feedback.
-
Hi to all,
i have a 64x32 led
and with that code
void setup() {
// R1, G1, B1, R2, G2, B2, A, B, C, D, E, LAT, OE,CLK,
HUB75_I2S_CFG::i2s_pins _pins={25, 26, 27, 14, 12, 13, 23, 19, 5, 17, 0, 32, 33, 15,};
HUB75_I2S_CFG mxconfig(
PANEL_RES_X, // Module width
PANEL_RES_Y, // Module height
PANEL_CHAIN, // chain length
_pins, HUB75_I2S_CFG::FM6126A //FM6126A DP3246_SM5368
);
mxconfig.double_buff=true;
mxconfig.clkphase = false;
mxconfig.min_refresh_rate=60;
mxconfig.i2sspeed=HUB75_I2S_CFG::HZ_20M;
// Display Setup
dma_display = new MatrixPanel_I2S_DMA(mxconfig);
dma_display->begin();
dma_display->setPanelBrightness(255);
dma_display->clearScreen();
dma_display->fillScreen(myBLACK);
dma_display->setRotation(0);
dma_display->flipDMABuffer();
//setCpuFrequencyMhz(240);
}
int xx=0, yy, dx;
void loop() {
yy=0; dx=1;
for(int x2=0;x2<=xx;x2=x2+1){
for(int y=0;y<=yy;y=y+1){
if (dx>0)
{dma_display->drawPixel(x2,y, myBLUE );}
else
{dma_display->drawPixel(x2,y, myRED );}
}
yy=yy+dx;
if (yy==32) {dx=-1;}
if (yy==0) {dx=1;}
}
dma_display->flipDMABuffer();
delay(500);
dma_display->clearScreen();
xx=xx+1;
if (xx==64) {xx=0;}
}
show that
All is ok and the brightness is good (for internal house).
But when change the driver to HUB75_I2S_CFG::DP3246_SM5368
then take that
The image it is not same (has problem) but the brightness at middle is very very bright.
Here is and the video for 1st and 2nd code.
0-04-05-ac1687f400e1e552bbbcea86c9c083269ed866e36ab56fb2d13c864ae32e5b17_7e65ad2d231c07d4.mp4
0-04-05-1d0d3ea5e1476b6f79564d2a0f5748e7a063e50fefe0f33ce9bcecde8fbdb628_1b9c4a2efdb4099f.mp4
Can i have that brightness with FM6126A or make the DP3246_SM5368 to work ok with that brightness?
I see the code here (ESP32-HUB75-MatrixPanel-I2S-DMA.cpp)
else if (m_cfg.driver == HUB75_I2S_CFG::DP3246_SM5368)
{
row[ESP32_TX_FIFO_POSITION_ADJUST(x_pixel)] = 0x0000;
}
else
why show all data at row 0.
Sorry for the english.
Beta Was this translation helpful? Give feedback.
All reactions