Change to code for practice of infrared motion sensor