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

Integer number ( 8 or 16 bits ) to ASCII text ???

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







Integer number ( 8 or 16 bits ) to ASCII text ???
PostPosted: Sat Jun 04, 2005 7:45 am     Reply with quote

Hello All,


I wish to convert a 8 ( or 16 bits ) integer number to a string format
for send to a text lcd display.

Somebody have it an idea ???

Many thanks,


Jean - Pierre
libor



Joined: 14 Dec 2004
Posts: 288
Location: Hungary

View user's profile Send private message

PostPosted: Sat Jun 04, 2005 8:30 am     Reply with quote

You can sprintf() your number formatted as needed into a string, then send your string to the lcd.
Jean - Pierre
Guest







PostPosted: Sat Jun 04, 2005 8:39 am     Reply with quote

Hello,


Thank you infinitely for your help.

This is exactly what I need ( I did not see this instruction in the manual Embarassed ) !!!!


Many thanks !!! Laughing


Jean - Pierre
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