How to initialize an UART 19200,8, 0DD ,1 connection?

General discussion on mikroBasic PRO for PIC.
Post Reply
Author
Message
ropika33
Posts: 5
Joined: 07 Jul 2010 20:57

How to initialize an UART 19200,8, 0DD ,1 connection?

#1 Post by ropika33 » 27 Oct 2019 01:17

Hello,

Do you have mikroBasic equivalence for the function UARTx_Init_Advanced()?
I need to initialize an UART 19200,8,0DD,1 connection on MikroBasic please.
Fab

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: How to initialize an UART 19200,8, 0DD ,1 connection?

#2 Post by jovana.medakovic » 28 Oct 2019 14:41

Hello,

Unfortunately, we don't have a function like UARTx_Init_Advanced() for PIC compilers.
Can you tell me which MCU you are using?

Kind regards,
Jovana

ropika33
Posts: 5
Joined: 07 Jul 2010 20:57

Re: How to initialize an UART 19200,8, 0DD ,1 connection?

#3 Post by ropika33 » 28 Oct 2019 17:48

I'm using a simple PIC 16F688.

User avatar
jovana.medakovic
mikroElektronika team
Posts: 986
Joined: 18 Dec 2018 10:36

Re: How to initialize an UART 19200,8, 0DD ,1 connection?

#4 Post by jovana.medakovic » 29 Oct 2019 17:10

Hi,

According to the datasheet:
Parity is not supported by the hardware, but can be implemented in software and stored as the ninth data bit.

Kind regards,
Jovana

Post Reply

Return to “mikroBasic PRO for PIC General”