mirror of https://github.com/arendst/Tasmota.git
Update xdsp_15_tm1637.ino (#20317)
Displaydimmer command has not worked correctly on 2 daisy-Chained MAX7219 7-Segment Displays. Only the first Module (8 Segments) changed their brightness.
This commit is contained in:
parent
c744612a29
commit
84fb3879c7
|
@ -1131,7 +1131,7 @@ void TM1637Dim(void)
|
||||||
{
|
{
|
||||||
for (uint8_t dev_addr = 0; dev_addr < Settings->display_width / 8; dev_addr++)
|
for (uint8_t dev_addr = 0; dev_addr < Settings->display_width / 8; dev_addr++)
|
||||||
{
|
{
|
||||||
max7219display->setIntensity(MAX7219_ADDR, brightness); // 0 - 7
|
max7219display->setIntensity(MAX7219_ADDR + dev_addr, brightness); // 0 - 7
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue