Yes the "modedefs.bas" has been included. Sorry I don't get the comment about hardware ports?
The LCD stuff is in there jsut so that I can see what is going on. If the Serin is removed (commented out) the program runs fine???
Yes the "modedefs.bas" has been included. Sorry I don't get the comment about hardware ports?
The LCD stuff is in there jsut so that I can see what is going on. If the Serin is removed (commented out) the program runs fine???
The chip you are using has a EUSART = Hardware serial port.
You can use HSERIN and HSEROUT for your communications. You can read PIR1.5 (at least that is what it is in 18F chips), you have serial port interrupts, you can transfer a byte and move on.....
Things work so much better when you use the hardware that Microchip has provided.
Charles Linquist
Bookmarks