TM1637 icon indicating copy to clipboard operation
TM1637 copied to clipboard

Flashing individual digits

Open allexmail opened this issue 1 year ago • 2 comments

Hello. I'm trying to make sure that not the entire screen blinks, but individual numbers. For example, this is necessary when setting the time using buttons. The flashing numbers will indicate what is currently selected (hours/minutes). I tried this, but it doesn't work:

void loop() {
    int hours = 12;
    int minutes = 53;
    tm1637.display(minutes, false, true, 2)->blink(500);
    tm1637.display(hours, true, false, 0);     
    tm1637.switchColon();
    //delay(500);
}

With this code, the entire screen blinks. Is it possible to implement what I want?

allexmail avatar Jun 02 '24 15:06 allexmail

Hello,

this would be a pretty good idea. Unfortunately, it is not yet supported. I will include it in the upcoming release (Coming out in July).

Thanks.

AKJ7 avatar Jun 02 '24 19:06 AKJ7

Good. It's going to be great. So far, I have solved this issue using the "iarduino_RTC" library. There is flashing support, but only in for text data (string).

allexmail avatar Jun 02 '24 20:06 allexmail