IR led generates different bit pattern corresponding to a particular switch.
Switch 1 - 1010
Switch 2- 1110
Switch 3- 1100
Logic 0 - A pulse burst of 0.7msec followed by 0.3msec space. Symbol size = 1msec
Logic 1 - A pulse burst of 0.7msec followed by 1.3msec space. Symbol size = 2msec