ISFJ:
Thank you very much for your reply. I tried using takeLowTime1 & takeLowTime2, lowIn1 and lowIn2, lockLow1 & lockLow2, and the problem seemed to be solved magically. Thanks
I'm glad to hear that.
The problem then was you had two state machines interfering with each other.
Now it's time to improve your code: de-duplicate it by using an array and only one function (just kidding) ![]()