Skip to content

not all dots are usable on a 6 digit Display #101

Description

@adrian-05

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions