Baud rate 115200 on PIC16F877A
Dear all,
Good day!
can anyone tell me how to write the code with baud rate 115200 for PIC16F877A/PIC18F4620 using Picbasic Pro compiler (BASIC)?
i only know use SEROUT2 PORTC.6, 16468, ["Hello"] that send baud rate 9600 to PC. But SEROUT2 does not support baud rate 115200.
FYI.
Crystal => 20MHz (Used)
PIC => PIC16F877A / PIC18F4620
Compiler => PicBasic Pro compiler 2.60 version
IDE => Microcode studio
TQ and BR
Re: Baud rate 115200 on PIC16F877A
Re: Baud rate 115200 on PIC16F877A
Why not use Hserout and use the hardware serial port?
Re: Baud rate 115200 on PIC16F877A
Dear c_moore,
I am not familiar with this Hserout command. If we use this command, does it means only hardware serial port can send out 115200 baud rate? How about other port on the IC? can we assign it?
TQ and BR
Re: Baud rate 115200 on PIC16F877A
Dear mackrackit,
Thanks for the information.
BR
Re: Baud rate 115200 on PIC16F877A
If I remember correctly the 16F877A only has one hardware serial port (one each TX-RX). There are some others with two.