Hi,
HSERIN2 is for the second (E)USART on PICs that have two - which the 16F886 doesn't so that's out.
SERIN or SERIN2 would work, just remember that they are both software timed commands and they are "locking" the rest of your program if you aren't using assembler interrups or DT-INTS. What it means is that if you you are using HSERIN to receive data from the GPS and SERIN(2) to recieve data from the odomter you'll be in trouble if both transmitts at the same time.
You seem to indicate though that the main PIC asks the odometer for milage data so you are in control of when it sends it. In that case I'd say that SERIN(2) would work just fine.
Bookmarks