this sample receives RC5 on the background. it will not block your code like getrc5
' it requires a 16 bit timer with input capture. you can not use the timer yourself.
' some processors have multiple 16 bit timers.
Config Rc5 = Pinb.0 , Timer = 1 , Mode = Background
' ^--- background interrupt mode
' ^--- this must be a 16 bit timer
' ^---- this is the timer input capture pin