Hi larzazral,
With SERIN2, the DEC modifier needs a non-numeric character to indicate the end of the number.
Or, it needs to know how many digits to expect.
As it is, the next non-numeric character is the "A" from the next packet, so that A (and it's data) are discarded, and it waits for the packet after that.
Which makes it only receive every other packet.
Either this on the transmit side ...OR, this on the receive side ...Code:SEROUT2 PORTD.1,16468,["A",DEC I,";"]Should get you going.Code:SERIN2 PORTC.3,16468,[WAIT("A"),DEC1 I]




Bookmarks