Hallo,
die einfachste Möglichkeit in Bascom RC5 zu empfangen ist:

$lib "mcsbyte.lbx" 'für kleineren Code

Config Rc5 = Portb.0
Enable Interrupts

Config Portb.1 = Output 'TSOP an PB.1

Dim Address As Byte
Dim Command As Byte

Print "Warte auf RC5..."
Do
Getrc5(address , Command)
If Address < 255 Then
Print Address
Print Command
If Command = ??? Then
(Anweisung)
End If
End If
Loop

End

mfg