Quote Originally Posted by gandora View Post
I am using 16f88 which does have an internal AUSART. But what is the difference between serin2 and hserin. I am a little confused about it.
HSEROUT or HSERIN use the PIC Hardware USART, while SERIN/SERIN2/DEBUGIN use a software Serial communication solution.

The only restriction when you're using HSERIN/HSEROUT is the I/O and the amount of serial port. With HSERIN/HSEROUT, you MUST use the PIC dedicated i/o (RX/TX) while any other software solution (SERIN.. ) allow you to choose any i/o.

Using the PIC USART give you for free at very least, a 2 Bytes receiver buffer, and interrupt trigger sources.