use 2 usart

General discussion on mikroC.
Post Reply
Author
Message
serkan2877
Posts: 6
Joined: 31 Mar 2011 01:06

use 2 usart

#1 Post by serkan2877 » 22 Jun 2011 14:21

how do i use 2 usart ? pic is 18f452

Muphy
Posts: 318
Joined: 24 Feb 2008 14:05
Location: Stonehaven Scotland

Re: use 2 usart

#2 Post by Muphy » 22 Jun 2011 16:52

The 18F452 has only 1 hardware USART so you will have to use the hardware USART and also use the Soft UART library to provide the other. This is often known as bit banging.

If you read the help file, there are examples as to how it is done.

M

Post Reply

Return to “mikroC General”