Hi,
As mentioned the QEI section of this program is working OK, and only appears to fail because of the INTERRUPT (I think)
The INTERRUPT and PARSE section, was written for PIC #1 MASTER. and I copied it from there and pasted into PIC#2 SLAVE, and had to remove the parts that weren't needed because of this, and change others.
The main areas that I changed were: [ setUARTchannel and IRQinitBuf ] which include [PIE1.RCIE = 1 '1 = Enables the EUSART receive interrupt ]
Regarding [setUARTchannel] this is a switch on PIC#1 for switching the '2 into 1' RX PIN sentences, and this is why we're trying to get it onto PIC#2 SLAVE, which is an alternative. So as the [setUARTchannel] is not needed now it needs changing on PIC#2 more.
C
As mentioned the QEI section of this program is working OK, and only appears to fail because of the INTERRUPT (I think)
The INTERRUPT and PARSE section, was written for PIC #1 MASTER. and I copied it from there and pasted into PIC#2 SLAVE, and had to remove the parts that weren't needed because of this, and change others.
The main areas that I changed were: [ setUARTchannel and IRQinitBuf ] which include [PIE1.RCIE = 1 '1 = Enables the EUSART receive interrupt ]
Regarding [setUARTchannel] this is a switch on PIC#1 for switching the '2 into 1' RX PIN sentences, and this is why we're trying to get it onto PIC#2 SLAVE, which is an alternative. So as the [setUARTchannel] is not needed now it needs changing on PIC#2 more.
C
