Tag - writing a while statement for limit switch in arduino