Arrangements using two alternating lights and one detector