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

LCD display

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



Joined: 01 Apr 2011
Posts: 17

View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger

LCD display
PostPosted: Thu Oct 20, 2011 10:50 am     Reply with quote

Hello guys!
I would like to know how to display an integer or float number on LCD
using PRINTF(.....);
Thanks Twisted Evil
_________________
REPTILE404

55AA55AA55
temtronic



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

View user's profile Send private message

PostPosted: Thu Oct 20, 2011 10:59 am     Reply with quote

You could read up 'printf' in the 'builtin functions, or look in the FAQ section of the onscreen help file, or look at one of the dozens of examples in the 'examples' folder that CCS kindly supplies.
Since you don't give a specific LCD, I can't give you any code,though CCS does supply some( for 'typical' or 'generic' 4 bit mode,2by16 displays), again , in the 'examples' folder.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Oct 20, 2011 11:55 am     Reply with quote

Sample program:
http://www.ccsinfo.com/forum/viewtopic.php?t=32168&start=1

CCS manual:
http://www.ccsinfo.com/downloads/ccs_c_manual.pdf
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