Hi Guys,
I can only conclude I found a bug after today’s efforts.
I have 2x16 char LCD connected as default in the manual, except for the enable pin connected to portB bit 2,
and also using hardware serial input, but I don’t want to use serial transmit.



It appears I can either use the LCD or hardware serial, but not both.
If HSERIN is ever called, the LCD routines that aren’t seen, I assume, forgets to use the enable pin,
and the LCD never works again for the program session.

Even after disabling the TXSTA and RCSTA registers manually after each HSERIN use, the LCD still does not work.
Connecting the LCD enable pin to portb bit 7 instead fixes everything.

Other than TXSTA and RCSTA registers, I don’t know what else the use of HSERIN could change that could be
restored after each use for the LCD command to work again.
Cheers, Art.