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 send hex numbers via RS232 line?

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



Joined: 17 Nov 2011
Posts: 187

View user's profile Send private message Send e-mail

how to send hex numbers via RS232 line?
PostPosted: Fri Feb 17, 2012 9:50 am     Reply with quote

Hi,
I'm very abashed how to send numbers RS232 line because function putc()
sends only characters?

please tel me how I'll send numbers instead of characters?

best weekend for you all !
temtronic



Joined: 01 Jul 2010
Posts: 9243
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Feb 17, 2012 9:58 am     Reply with quote

Press F11 when your project is open. On Screen HELP comes up.Find the 'functions' menu...look for 'printf'.

It will show and tell you how to send data in various formats.

Printf means print using format

You can keep the HELP screen open,just minimize it, as a very,very handy FAST reference to most of the compiler info you need!
artohautala



Joined: 17 Nov 2011
Posts: 187

View user's profile Send private message Send e-mail

PostPosted: Fri Feb 17, 2012 10:14 am     Reply with quote

temtronic wrote:
Press F11 when your project is open. On Screen HELP comes up.Find the 'functions' menu...look for 'printf'.

It will show and tell you how to send data in various formats.

Printf means print using format

You can keep the HELP screen open,just minimize it, as a very,very handy FAST reference to most of the compiler info you need!


Oh my God ... I forgot whole printf() function
I thought putc() is the only way to send things...

Sorry and many friendly thanks for your advice !
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