hwiguna / HariFun_166_Morphing_Clock

106 stars 37 forks source link

non blocking morph function #15

Open dansiebert opened 2 years ago

dansiebert commented 2 years ago

My post is not a real issue, but more of a wish. Would it be possible to design the Digit class so that the morphing doesn't block the code in the main loop? I would like to add scrolling text (data from my smart home) to this beautiful clock. However, the text scrolling currently stops for a moment when morphing a clock segment because of the for-loops in the class (for (int i = 0; i <= segWidth; i++)). Unfortunately, my Arduino programming skills are still in their infancy and I don't dare to change the Digit class accordingly.