Closed Ntrino closed 3 years ago
What Arduino processor are you using?
What Arduino processor are you using?
Hi, that was a quick reply, cheers.. Its a Wemos D1, ESP8266
If you are powering the LED matrix modules with the 3V supply this can cause errors., You should use a separate 5V supply.
Yes i have tried that, they are being fed with 5v All the other effects in the example work flawlessly, its just these 4 diagonal ones.. Seems rather strange
Yep, I will need to set up a test system. Don't have time this week.
No worries, no rush, Still have plenty to write for my project :) Lets hope we can sort it.. Thanks for getting back to me so fast
I have also tried a pullup on CS and setting STATIC_ZONES to 1, and increasing the number of zones by 1 or 2, which i seen you had mentioned in another posters issue, sadly nothing helped Ive looking into your code, buts its certainly over my hobby grade knowledge to decipher what could be wrong with the effectDiag(...) function.. if anything
Fixed for release 3.5.7
Great thank you for that :)
Another issue i found, if an animation is currently active and i update the pText pointer value, then it crashes after a couple animation iterations, eg. if i either setTextBuffer(), or displayText() with a new text value (when using it as a clock) and updating the time seconds value every second, if the value changes during an animation such as the PA_SPRITE one, it causes the ESP8266 to crash with a WDT issue. For now to get around the crashing, i have to wait for the .displayAnimate() to return true before i update the text value. Is this normal behavior?
Thanks!
Changing the text while an animation is active will have undefined behaviours as the library is working its way through a string. For example, if the text is shorter than the current and the nul has disappeared from the end of the 'old' string, it will screw up for sure.
If you change the text you should also do a reset() and may also need to clear().
Hi Marco.. what a great comprehensive library you have written! Thank you... Unfortunately i am experiencing a strange issue, and would really appreciate some help
Subject of the issue
Issues with diagonal scrolling effects
Your Environment
Library Version:Latest version to date Arduino IDE version: Latest version to date Host OS and Version: Windows 10, up to date CPU Hardware model/type: i7 *Matrix hardware model/type: FC-16*
Steps to Reproduce
By simply using the Parola_Animation_Catalog example, and setting the correct hardware
define HARDWARE_TYPE MD_MAX72XX::FC16_HW
define MAX_DEVICES 4
Expected Behavior
After viewing your example video on Youtube, i can see your diagonal effects work as expected without any issue like im experiencing
Actual Behavior
When using the Parola_Animation_Catalog example, all 4 of the diagonal scrolling effects (PA_SCROLL_UP_LEFT etc) have issues with the first zone. The first character of the text suddenly appears, and then is overwritten as the text scrolls into view.
Code Demonstrating the Issue