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 Help!!

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



Joined: 17 Oct 2005
Posts: 68
Location: Brisbane

View user's profile Send private message

try this!
PostPosted: Wed Feb 15, 2006 7:27 pm     Reply with quote

this is how it's done to print any of the one you mentioned.
//lcd_goxy()
Code:
printf(LCD_PUTC,"%d %u %f %Lu\n",int,unsinged int, float,uinsigned long);

this has been discussed here as well..

http://www.ccsinfo.com/forum/viewtopic.php?t=25762
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Feb 15, 2006 11:06 pm     Reply with quote

Quote:
this is how it's done to print any of the one you mentioned.
//lcd_goxy()
Code:
printf(LCD_PUTC,"%d %u %f %Lu\n",int,unsinged int, float,uinsigned long);

Did you notice that you misspelled the word "unsigned" in two different
ways ? That's not helpful to newbies. I don't want to be mean, but I
think you should wait until you're an intermediate level programmer
before you post answers.
kel



Joined: 17 Oct 2005
Posts: 68
Location: Brisbane

View user's profile Send private message

sorry typing error!!
PostPosted: Thu Feb 16, 2006 1:54 am     Reply with quote

Sorry that was a typing error.I hope he didn't get confused !
Code:
printf(LCD_PUTC,"%d %u %f %Lu\n",int,unsigned int, float,unsigned long);
uludere72



Joined: 15 Feb 2006
Posts: 2

View user's profile Send private message

PostPosted: Thu Feb 16, 2006 3:09 am     Reply with quote

thnks for your help ..
I got what i want to do !!
step by step i started :-) PicC
sonicdeejay



Joined: 20 Dec 2005
Posts: 112

View user's profile Send private message

PostPosted: Thu Feb 16, 2006 3:28 am     Reply with quote

this is my LCD function....


Code:
void display(float disfricfact)
{
   // Display Friction Percentage in

   lcd_gotoxy(4,1);
   printf(lcd_putc, "Resistance");
   //delay_ms(500);
   lcd_gotoxy(2,2);
   printf(lcd_putc, "%4.2f Percent",disfricfact);
   //delay_ms(500);

}
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