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 and degree symbol!!

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







LCD and degree symbol!!
PostPosted: Fri Feb 10, 2006 12:04 am     Reply with quote

Guys i'm working on a thermistor.I'm using lcd to display the temperatures and would like to add a (oC).Has nayone ver done?Any experience with this!
Thanks Sad
newguy



Joined: 24 Jun 2004
Posts: 1908

View user's profile Send private message

PostPosted: Fri Feb 10, 2006 12:22 am     Reply with quote

The degree symbol itself (o) is either 0xdf or 0xfd. Just send that number to the lcd with
Code:
lcd_putc(0xdf);


If you require a oC as one character, you'll have to create it yourself in the lcd's character RAM. Search this board for code and examples.
Guest
Guest







Great..
PostPosted: Fri Feb 10, 2006 12:34 am     Reply with quote

Any specific link on please.Thanks
Guest
Guest







Printing zero
PostPosted: Fri Feb 10, 2006 12:50 am     Reply with quote

The one you have given prints 0
Code:
lcd_putc(0xdf);

this print zero not o.
I tried both but they give the same result...
Crying or Very sad
newguy



Joined: 24 Jun 2004
Posts: 1908

View user's profile Send private message

PostPosted: Fri Feb 10, 2006 12:53 am     Reply with quote

http://www.ccsinfo.com/forum/viewtopic.php?t=25743&highlight=lcdsendbyte+custom
Guest
Guest







That help!
PostPosted: Fri Feb 10, 2006 2:35 am     Reply with quote

Problem solved thank you for your help...
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