IR sensor instruction update