TM1637 icon indicating copy to clipboard operation
TM1637 copied to clipboard

not all dots are usable on a 6 digit Display

Open adrian-05 opened this issue 9 months ago • 0 comments

Hi, I just found a problem when using a 6 digit Display, so it is impossible to use the dots of the 5th and 6th digit of my display. to fix this problem you have to change the 4 in the for statement in line 248 to a 6.

void TM1637Display::showDots(uint8_t dots, uint8_t* digits) { for(int i = 0; i < 4; ++i) { digits[i] |= (dots & 0x80); dots <<= 1; } }

Thanks

adrian-05 avatar May 17 '24 18:05 adrian-05