Okay, set your receiver module to House 'A', Unit '1'.
Substitute the XOUT statements from your code to
XOUT PORTB.1,PORTC.5,[0\0,0\unitOn) 'Send an 'ON' to A1
and
XOUT PORTB.1,PORTC.5,[0\0,0\unitOff) 'Send an 'OFF' to A1
Lets see where this gets you; if it doesnt work I'll take a closer look at the waveforms, but I think that might be unnecessary.
BTW, connect your pic XOUT pin directly to the interface; as Dave pointed out the extra components are really not required.
Regards,
Anand
Bookmarks