The code, if it is of any use to check if my connections are right..It is quite straight forward
*detects the string "GPGGA" in a serial data @ 4800bps, once it detects, it takes in the next 24 bytes and retransmit it at 2400bps - and does this forever*
Device = 16F877
Xtal = 20
Dim Position[24] As Byte
TRISA = %00000001
Declare Rsin_Pin PORTA.0
Declare Serial_Baud 4800
It seems odd that you are not using the serial port. You have to run the receive and transmit at the same rate at any one time, but you could always buffer the data at 4800 and then change the data rate, and transmit at 2400
I guess that you are using a library function which bit-bashes serial signals on any port, but you will somewhere have to tell it to transmit at 2400.
It seems odd that you are not using the serial port. You have to run the receive and transmit at the same rate at any one time, but you could always buffer the data at 4800 and then change the data rate, and transmit at 2400
I guess that you are using a library function which bit-bashes serial signals on any port, but you will somewhere have to tell it to transmit at 2400.