Hi everyone, I need some help in animating my MX7219 4 digit module. What I want to do is to make alternating animating text and static text. i tried all the test code and couldn't make the animation to work. Once in the start of the module, the animation works for one time and subsequent call to displayAnimate() had no effect at all - the screen is just blank during .Animation. the static text is ok and shows for 5esc. to test this just made a minimal code sketch with 5sec animation and 5 sec Static display as below:
when I comment out the statement "P.print("static");" the animation is working. tried displayReset(); before and after static display of text but no luck. tried removing "P.displayReset();" inside if() loop still no luck.
any help is appreciated
You can make changes to my Wokwi project and test it, but you need to log in at Wokwi to be able to store your own project. Then you can select "Save a copy" and continue with my project.
A baud rate of 9600 is very slow and is something from the 1980s, but you don't have to be careful, you may use 115200.
When you make a typing error or give the wrong advice on this forum, then it is possible to edit a post and correct that. But don't change it too much, because it could break the flow of the discussion.
I sometimes do this:
Oranges are blueorange [EDIT] Changed "blue" to "orange" for the color of oranges.
I see you have solved the problem, but just to be clear about:
causes the 'static' string to be displayed every time through loop() when animate is false (a few hundred times a second). This may cause the display to flicker (at low brightness) or be less bright than you expect (at high brightness).