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

Very flickery display when showing clock #267

Open
FrankHovis opened this issue Mar 19, 2023 · 0 comments
Open

Very flickery display when showing clock #267

FrankHovis opened this issue Mar 19, 2023 · 0 comments

Comments

@FrankHovis
Copy link

Around line 460 of marquee.ino the commands

matrix.fillScreen(LOW);
centerPrint(currentTime, true);

are looped though as fast as the main loop executes resulting in 10's of matrix updates per seconds and lots of flickering of the display with random dots being much brighter etc.

I added

  LEDMillis = millis();  
  if (LEDMillis - LEDnowMillis >= 1000)  
  {
    LEDnowMillis = LEDMillis;  //save the start time.
    matrix.fillScreen(LOW);
    centerPrint(currentTime, true);
  }

around these calls (with the needed global declarations as unsigned long) as a workaround, but its probably not an ideal way to do it. It stops the flickering.

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

1 participant