@joshstube Yup, all my own code. You should be able to do the re-trigger thing in Logicator without too much trouble, using a single variable. Set up a loop that exits once the variable reaches some value (for instance 200). Inside the loop, increment the variable by 1, delay 10ms, and read the button. If the button is high, reset the variable to 0. If the button is never pressed, the loop will exit after 200 * 10ms. If the button is pressed during the 2 seconds, the loop will just keep looping.
cool bot!
Did you do your own programming?
I am trying to figure out how to "re-trigger" a wait command, can I do this with Logicator?
I want a timer to count down, but get reset with an input if a button is pressed before it reaches the end . . .
Perhaps it requires a parallel process (which I don't know how to do)
Thanks again for your videos.
joshstube 11 months ago
@joshstube Yup, all my own code. You should be able to do the re-trigger thing in Logicator without too much trouble, using a single variable. Set up a loop that exits once the variable reaches some value (for instance 200). Inside the loop, increment the variable by 1, delay 10ms, and read the button. If the button is high, reset the variable to 0. If the button is never pressed, the loop will exit after 200 * 10ms. If the button is pressed during the 2 seconds, the loop will just keep looping.
aramsey2000 10 months ago
Sweet. Nice board too!
beanMosheen 1 year ago