Open adrian-05 opened 6 months ago
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
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