CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

How to disable Transmit function of PIN_C6 in 16F876A

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
veerabahu



Joined: 20 Aug 2013
Posts: 16

View user's profile Send private message

How to disable Transmit function of PIN_C6 in 16F876A
PostPosted: Wed Dec 18, 2013 5:34 am     Reply with quote

In my application i used #INT_RDA to Receive a serial data.
for this i used
Code:
  #use rs232(baud=9600,xmit=PIN_C6,rcv=PIN_C7,disable_ints).
But I'm short of I/O's. So i need to use my TX pin (i.e. PIN_C6) as I/O. But i cant seem able to control the PIN_C6 pin. It's always high.
I defined the pin as output only set_tris_c(0x80);
Please anyone provide me a solution for this. I want to use this pin as normal I/O.
Ttelmah



Joined: 11 Mar 2010
Posts: 19538

View user's profile Send private message

PostPosted: Wed Dec 18, 2013 5:55 am     Reply with quote

A search here would have found the answer.

Been answered many times. Try:
<http://www.ccsinfo.com/forum/viewtopic.php?t=49307>

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group