View Full Version : HSERIN/OUT or Serin/Out for AIR Link
mankan
- 24th May 2006, 20:13
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
mister_e
- 25th May 2006, 00:08
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.
mankan
- 25th May 2006, 14:28
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
Ron Marcus
- 25th May 2006, 14:35
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.
mister_e
- 25th May 2006, 15:19
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.
Powered by vBulletin® Version 4.1.7 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.