Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flashing individual digits #27

Open
allexmail opened this issue Jun 2, 2024 · 2 comments
Open

Flashing individual digits #27

allexmail opened this issue Jun 2, 2024 · 2 comments

Comments

@allexmail
Copy link

allexmail commented Jun 2, 2024

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?

@AKJ7
Copy link
Owner

AKJ7 commented Jun 2, 2024

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.

@allexmail
Copy link
Author

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants