View previous topic :: View next topic |
Author |
Message |
Kari Guest
|
printing long int with glcd.c driver |
Posted: Sat Dec 27, 2003 9:26 am |
|
|
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
|
another question |
Posted: Sat Dec 27, 2003 12:21 pm |
|
|
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
|
|
Posted: Sat Dec 27, 2003 12:28 pm |
|
|
glcd_text57(x,y,textptr,2,ON); "2" makes 10x14 pixels font. |
|
|
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
|
|
Posted: Sat Dec 27, 2003 2:39 pm |
|
|
use printf or sprintf to convert a number to a string. |
|
|
Acetoel
Joined: 20 Dec 2003 Posts: 7
|
|
Posted: Sun Dec 28, 2003 11:09 am |
|
|
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 |
Posted: Thu Feb 05, 2004 10:37 pm |
|
|
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 |
Posted: Thu Feb 05, 2004 10:39 pm |
|
|
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 |
|
|
|
|