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.
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.
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.Originally Posted by mankan
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.
Bookmarks