Hi
When using the PIC USART the Tx pin should be set to INPUT, not output as you would expect.
See PIC 18F2x/4xK22 datasheet page 270 section 16.1.1.7
Phil
Hi
When using the PIC USART the Tx pin should be set to INPUT, not output as you would expect.
See PIC 18F2x/4xK22 datasheet page 270 section 16.1.1.7
Phil
Hey phil, i just read page 270. It's true what you said but it seems to work both ways. I think Hserout/Hserin sets TRIS register automatically.
Regards Kostas.
Bookmarks