Closed mattbk closed 10 months ago
I realized that for my use case, I can add an extra space (" ") at the end of the MorseEffect
message, and the messages won't run together. I don't think this manual intervention is possible for regular LED sequences, though.
Thanks for the report - I can confirm that there is a problem in the JLed
code, introduced recently (and not covered by tests...). Will investigate further ...
fixed with 4.13.1, please check if it's ok now
Works a treat, thank you!
When I run code like this, I would expect the first effect to repeat three times with a delay of three seconds after each time. But the first effect runs once and then it moves on to the next effect. Am I missing something?
It looks like
Repeat()
alone works as expected butDelayAfter()
alone does not.Modified from https://github.com/jandelgado/jled/blob/master/examples/sequence/sequence.ino.
Thanks a bunch for the Morse example, I'm using it for exactly that purpose (to key a radio). The use case is that I want to repeat a Morse message n times, then wait a number of seconds. But without
DelayAfter()
on the message, the final dit and the first dah run together.