Added semi-pseudo-code for IR sensor