Issue solved.
While manual says "Pin is automatically made an input."
In fact it does not, so I made that pin an input via TRIS register and now (mode 6) works fine.
Now how to change above code, so it displays text immediately after pressing the enter, not waiting for 8 characters to fill in?
Bookmarks