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:
hk2k2 2023-12-27 09:27:16 +01:00 committed by GitHub
parent c744612a29
commit 84fb3879c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }
} }
} }