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 support@ccsinfo.com

Elimination of RX pin for software UART

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







Elimination of RX pin for software UART
PostPosted: Tue Jan 25, 2005 9:11 am     Reply with quote

Is there a way when using the software UART to eliminate the RX pin? I have a project that requires only a TX pin from the micro.
Ttelmah
Guest







Re: Elimination of RX pin for software UART
PostPosted: Tue Jan 25, 2005 9:30 am     Reply with quote

RobC wrote:
Is there a way when using the software UART to eliminate the RX pin? I have a project that requires only a TX pin from the micro.

Just don't define a receive pin.
It is important to realise, that the #use RS232, itself does nothing. Code is only generated when it is used. So you can either leave RX undefined, or just define it as another pin already in use, and unless you actuall 'use' the receive function, no change will be made to the state of this pin, and no code generated.

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