Wäre es nicht einfacher RC5-Befehle über GetRC() azu empfangen, wenn ich mcih nicht täusche, kann man da den Pin beliebig wechseln (nur für den Fall, dass die Umkonfiguration des Pins cniht klappt)

Code:
Dim W As Word
Do
  'the first parameter is the PIN register.
  'the second parameter is the pin number the resistor/capacitor is connected to
  'it could also be a variable!
  W = Getrc(pind , 4)
  Print W
  Wait 1
Loop
MFG Moritz