Is there a way to add a time out function to digital input? Example I’m waiting for Digital input 01 to be true and if the sensor doesn’t turn true in a specified time insert a if statement to perform another set of moves?
Currently I’m waiting for the sensor to be true then perform an action, if the sensor never gets triggered the robot just waits. I want to add a time where if the sensor doesn’t turn true in x time perform some other action.
Yes. That’s what happens in the code, I sent you. You can adjust the time in the Wait.
