bethr,
Both versions work here. 18F452/MAX232 20mhz.
However, the SEROUT version won't work if you still have either an HSERIN or HSEROUT somewhere in the program. The HSER statement doesn't even need to execute. Simply being in the program is enough. Since you are trying to convert it, it's a possibility.
With any HSER statements in the program, the USART will be initialized on power-up. Which makes it so only the USART can access the TX pin.
<br>




Bookmarks