I want to know what's wrong with my coding

  1. digital input source is a switch.
  2. if the input goes low and then high again: it will start from condition_1 again.