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

printing long int with glcd.c driver

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







printing long int with glcd.c driver
PostPosted: Sat Dec 27, 2003 9:26 am     Reply with quote

I am using Winstar graphic lcd and 16f877. I can print text from array but how to print long int value direct with glcd.c driver? PCWH version 3.180.
Kari
Acetoel



Joined: 20 Dec 2003
Posts: 7

View user's profile Send private message

another question
PostPosted: Sat Dec 27, 2003 12:21 pm     Reply with quote

I would like to know that, too. But also, I would like to know if it would be possible to make a bigger font. One of 16x12 Or something like that. I have to print some nombers on the Winstar GLCD and it has to be seen from one meter clearly enough (I'm using the backlight).

Thanks
Ezequiel
Kari
Guest







PostPosted: Sat Dec 27, 2003 12:28 pm     Reply with quote

glcd_text57(x,y,textptr,2,ON); "2" makes 10x14 pixels font.
Mark



Joined: 07 Sep 2003
Posts: 2838
Location: Atlanta, GA

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

PostPosted: Sat Dec 27, 2003 2:39 pm     Reply with quote

use printf or sprintf to convert a number to a string.
Acetoel



Joined: 20 Dec 2003
Posts: 7

View user's profile Send private message

PostPosted: Sun Dec 28, 2003 11:09 am     Reply with quote

which is the bigest font I can generate? Thanks
I will start testing the code this weekend. My GLCD now is running with an Atmel AVR.
Thanks
Ezequiel
Guest








Re: printing long int with glcd.c driver
PostPosted: Thu Feb 05, 2004 10:37 pm     Reply with quote

Kari wrote:
I am using Winstar graphic lcd and 16f877. I can print text from array but how to print long int value direct with glcd.c driver? PCWH version 3.180.
Kari
Guest








Re: another question
PostPosted: Thu Feb 05, 2004 10:39 pm     Reply with quote

Acetoel wrote:
I can not show text on glcd about glcd_text57()
please me a code by using text that can show on glcd
Thanks
Ezequiel
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