Move RD receiver input from pin 12 to 8, in preparation for handling RF input by interrupt
Remove unused code
Decode into data bits instead of pulse codes