help in Usart MikroC code

Status
Not open for further replies.

milanino

Member level 2
Joined
Mar 5, 2013
Messages
51
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Visit site
Activity points
1,602
i would like to translate this struction in MikroC code
If the pic send a data (Tx pin) the output pin 5 of portd has 1 logic
if the pic receive data (Rx pin) the output pin5 of portd has 0 logic
Help me please
 

as per i know in pic once we read from rxreg it will get cleared, (or next data in buffer takes place in it). is accessing this reg in any way will clear it..
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…