run loop until input is high

Hey,

Thanks for your input and insight!

Cheers