Serin general question


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Sep 2011
    Posts
    20

    Default Re: Serin general question

    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???

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107

    Default Re: Serin general question

    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

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts