IR Decoding and Detection Application Note