Time off, time on for paint stroke logic question
I spent hours making a simple firefly that turns off for 3-12s and then on for 2s. It works well most of the time, however once in a while the on/off times become reversed and I'm not sure why based on the logic. If you've got the spare time and can take a look at "Firefly - Logic & Animation" and let me know if I am going about this the wrong way I'd much appreciate it.
-
It’s because of when you are changing the value of the top counter. If the value of the top counter is increased by less than two seconds then it can trigger twice before the bottom timer can trigger which switches their position in the selector cue (if that makes any sense)
The correct way to fix this is probably to make sure the top counters value is only changed when it is reset by the second timer.
But a much easier fix is to wire the top counter into input A on the selector and the other counter into input B (instead of Next Output)
P.S. this logic is awesome :)
Hope this helps :) Peter -
Oh, of course! That fixed it, thank you so much.
I am loving Dreams! Really, great work to all of you and the wait has well been worth it. Please not too long between beta end and release. I will have withdraw symptoms.
댓글을 남기려면 로그인하세요.