Wait for External Input in Auto Mission?

Hi,

I am working on a project which requires a copter to land, wait, and takeoff at different locations. I have succeeded in waiting (delay) for an amount of time and then auto arming and takeoff in auto mission, but I need to do wait command in a smarter way. Is there a way I can use an external 5V signal to wait until the signal is given? I have seen other people ask about this but they didn’t get the answer at the time. Some posts suggest using Lua script. I am still learning it. Is this the right direction to go? Or maybe there is a simpler way?

Thanks for any help and comments in advance!

Search this forum tridge posted a blog on how to do exactly what you want a couple of months ago.