Replies: 7 comments 3 replies
-
1.mp4 |
Beta Was this translation helpful? Give feedback.
-
Hi |
Beta Was this translation helpful? Give feedback.
-
Honesty, I don't see any distortions :) By anyway, try to increase a scrolling interval: |
Beta Was this translation helpful? Give feedback.
-
Thanks, I will try to re-shoot the video tomorrow, and I feel that the shadow will appear when I scroll |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
Read the library Wiki |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
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)
{
}
Beta Was this translation helpful? Give feedback.
All reactions