Hserin Syntax


Closed Thread
Results 1 to 7 of 7

Thread: Hserin Syntax

Hybrid View

  1. #1
    Join Date
    Oct 2011
    Posts
    54


    Did you find this post helpful? Yes | No

    Default Re: Hserin Syntax

    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

  2. #2
    Join Date
    Apr 2012
    Location
    Ptolemaida
    Posts
    50


    Did you find this post helpful? Yes | No

    Default Re: Hserin Syntax

    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.

Similar Threads

  1. Syntax error
    By Dick Ivers in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 25th February 2013, 23:37
  2. syntax error
    By malc-c in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 21st February 2010, 21:06
  3. Need help with I2C syntax problem?
    By Michael Wakileh in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 19th July 2007, 19:11
  4. Serial LCD syntax help
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 27th February 2007, 04:37
  5. IF..THEN syntax
    By scaenix in forum mel PIC BASIC Pro
    Replies: 52
    Last Post: - 20th February 2007, 12:10

Members who have read this thread : 0

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