HSERIN/OUT or Serin/Out for AIR Link


Closed Thread
Results 1 to 5 of 5
  1. #1
    mankan's Avatar
    mankan Guest

    Default HSERIN/OUT or Serin/Out for AIR Link

    Hello Gurus,

    I am trying to sending serial data via Air using RF link between a Tx/Rx. Tx/Rx are connected to 16F628A PIC processor, which of the following works better:

    HSERIN/OUT or Serin/Out? Could somone point me to few of the examples.

    Thanks
    Mankan

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    none works better than the other, it's just two different solution were one use the PIC USART and not the other. HSERIN will produce a tighter code. Using a PIC with a USART is a smart choice and allow more flexibility to play with.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    mankan's Avatar
    mankan Guest


    Did you find this post helpful? Yes | No

    Unhappy any example

    Steve,

    Thank you for the reply, the basic problem with HSERIN/OUT is that I couldn't find any examples in the PIC document neither clear description of each and every option.

    Could you please point me to some code where I can begin? I just want to send couple of bytes via wire and receive it, using HSERIN/OUT.

    Thanks,
    Mankan

  4. #4
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mankan
    Steve,

    Thank you for the reply, the basic problem with HSERIN/OUT is that I couldn't find any examples in the PIC document neither clear description of each and every option.

    Could you please point me to some code where I can begin? I just want to send couple of bytes via wire and receive it, using HSERIN/OUT.

    Thanks,
    Mankan
    The MELABS website has some great examples, including an interrupt based behind the scenes HSER buffer. I have tried and it works quite well.

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    As someone would say, This forum have a search facility Just do a search with HSERIN, HSEROUT, USART, UART, Serial Communication and i'm pretty sure you'll find much than you need.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  2. quickBlue™ Link
    By lester in forum Bluetooth
    Replies: 4
    Last Post: - 20th March 2007, 13:23
  3. Newbie radio link issue
    By George in forum mel PIC BASIC Pro
    Replies: 31
    Last Post: - 28th February 2007, 04:28
  4. help with error checking GPS data over audio link
    By MUC in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 21st February 2005, 20:23

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