Replies: 7 comments 3 replies
1.mp4 |
|
Hi |
|
Honesty, I don't see any distortions :) By anyway, try to increase a scrolling interval: |
|
Thanks, I will try to re-shoot the video tomorrow, and I feel that the shadow will appear when I scroll |
|
Is there any relevant document that can explain the function, such as dmd.drawMarqueeX? I wonder if I didn't clear the screen or didn't call some functions, which caused the scrolling to have residual shadows |
|
Read the library Wiki |
|
I have used this library with very good success. It is true , I had to struggle a bit to get it running though. There are some quirks that I could not understand fully. May be it is timing or memory management issue. In my case , I had to declare the variable m[] as a global variable. This introduced new problems with unknown characters or characters of the previous scrolls added to the new scroll. Technically this should not happen. But that was the case. To solve the issue I add a for loop and re-assigned m[]=NULL , resetting the variable , before using it again . BTW i was dynamically populating m[] and not sending a static text to drawMarquee (). The variable interval practically determines the speed to scroll. I this this library works in two stage. drawMarquee had to be initially setup as it initializing with stepmarquivee etc. don't use swapbuffers() here. The second stage is used to subsequent repeat, reversal, vertical etc. This is a little bit different from how DMD is implemented in esp32 etc. I might be wrong, but this is what I understood and used. At one point I had the slowing issue and tested outputing the actual time each section of code takes to finish and tweeked the code. Hope you know C is an admant , stuborn and unforgiving langauge. memory management has to very precise. |
Uh oh!
There was an error while loading. Please reload this page.
I used STM32F103RCT6 and F411 microcontroller, the display effect is the same
video.3.mp4
Here is my test code
void loop(void)
{
}
All reactions