Hope I helped and didn't offend you Dave
This is a community effort, the more giving the better.
And it is kinda hard to offend me anyways

yup, the DEBUG and HSER syntax is pretty much the same. The DEFINES are different and like Chris said the hardware pins have to be used.

Earlier in this thread I gave an example of using HSER with out DEFINES but for most cases I do use them. Start that way.

If are are going to communicate with a PC and/or some other things an inverter setup is needed, RS232 chips are mostly used for this.

There are some calculations needed for the DEFINES and I cheat by using this
http://www.picbasic.co.uk/forum/showthread.php?t=4994

I am not at my machine again and I learned my lesson about going from memory so no snippets from me at this time. Chris??? Do you have one to get him started???