Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Which instruction SEROUT or HSEROUT to use for PIC16f876?

Status
Not open for further replies.

debutpic

Member level 4
Joined
Aug 13, 2001
Messages
76
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
475
Hi all
With pbp (melabs), I can use instruction SEROUT or HSEROUT with one 16f876,what instruction is the best for this device?
 

HSEROUT Vs Serout

If the PIC that you are using has a hardware usart you can use the HSEROUT command. Look up the data sheets from microchip. If you have the option to use the HSEROUT command definately use it. The same goes for the HSERIN command.
 

They work

Hi,

Pic 16f876 have hardware usart and the both cammand work with it

regards

Fragrance
 

Yes you should use Hserin or Hserout (Hardware Serial out)
The routines for serin or serout make hardware emulation and are time consuming. The routines for Hserout only have to write some register at time to send data because the usart do all.

neb,...
 

Serout does not use UART Protocal I believe.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top