Hi,
I may have found the problem?
It's possible that if there is no DATA to H-SEROUT, then the PIC makes up something, perhaps due to divide by zero or similar.
Here is a SEROUT of the S2M STRING before ADDSTR, where the GPS on the SLAVE starts receiving DATA, and passes it to MASTER via SPI, to be SEROUTED.
I have changed the variables in the ADDSTR PROCEDURE for better visual, and I'm guessing I've made an error?
C
I may have found the problem?
It's possible that if there is no DATA to H-SEROUT, then the PIC makes up something, perhaps due to divide by zero or similar.
Here is a SEROUT of the S2M STRING before ADDSTR, where the GPS on the SLAVE starts receiving DATA, and passes it to MASTER via SPI, to be SEROUTED.
I have changed the variables in the ADDSTR PROCEDURE for better visual, and I'm guessing I've made an error?
C
Attachments
-
175.3 KB Views: 2