This has to be something basic I'm missing.

I'm at a loss as to why this RCVR doesn't function...I get nothing on the PORTB outputs. I can see the data from the transmitter which I have hardwired to the rcvr pic SERIN port A0. I can see the switches going on and off.

The transmitter is sensing switches on PORTA with 10k pulldowns to ground.
Input high = switch on (and rcvr portb high)

I'm using Micro code studio and have chosen the 16F628A.

Heres the code exactly...

PAUSE 2000

DEFINE OSC 4
INCLUDE "modedefs.bas"
CMCON = 7 'PORT A ALL I/O
TRISA = %11000001 'A0 IS SERIN A6 A7 XTAL
TRISB = %00000000 'ALL OUTPUTS

SWITCH VAR BYTE
QUALA VAR BYTE
QUALB VAR BYTE
SWITCH = 0
QUALA = %11001111
QUALB = %11010101

START:

SERIN PORTA.0,N1200,[QUALA,QUALB],SWITCH

PORTB.0 = SWITCH.0
PORTB.1 = SWITCH.1
PORTB.2 = SWITCH.2
(AND SO ON)

GOTO START

In the Epic software I have... 16F628A--XT--WDT on--PWRUP on--MCLR as
input--BROWN OUT on

Thanks kindly for your help.