Quote Originally Posted by Melanie View Post
But if you use the HARDWARE USART, and HSERIN, there is no automatic way of inverting, so you need something like a MAX232 (or transistor or whatever) to HARDWARE INVERT the signal before you feed it into the PICs USART.
Except for the PIC18 chips by using RXDTP and TXCKP to invert your hardware UART.

See

http://www.picbasic.co.uk/forum/show...ight=inverting

By the way Melanie, your comparator solution is very slick! Thanks, I have a 3v to 5 volt issue I think I will use it on.

Thanks,

Walter