ok finally the GLCD is working but i still get some glitches init. It seems that when ever i plug out power, then plug it back again after like 20 sec, the GLCD doesn't show anything, however, continuously pressing and releasing the reset button sometimes shows the display. Can this be a timing issue? I am using 4MHz external crystal
Code ported to HI-TECH C with no issues whatsoever. Will post it once it is tidied up, but really it is mostly identical. Also works with hardware absolutely fine.
Could shave a fair chunk off the font by making the format:
Code:
WIDTH,byte1,byte2,byte3...
But that would require extra code to scan the array from the start each time, therefore would be slower. Will have to try it and see how well it works.
Next step, images! Then perhaps some simple "GUI" components, such as a progress bar using the vline/hline routines.
Hi to all
I'm new in this forum.
I'm now using the pommie library wich is very good. I want to know if anyone has make a big font function?
I try to make a big font function like PutBIGChar but with no sucess. The caracter apears to be all crazy. Can anyone help?
If we do some brainstroming here maybe we can find a function to do that, and then the library of pommie will be much more complete.
I think this function will be helpful to everybody.
Hmm, I will think about this. It would be easy multiplying font size by integer coefficients (x2, x3 or x4), is that OK with you? You don't mean increasing font size by 20%, do you?
Hi hkBattousai
I don't realy mather the size of it, I just want a bigger font LOL.
I was thinking in a font about 13x18, It's a very big font. I creat it but I cannot use the font.
I try to change de putchar function with no success at all.
I don't realy mather the size of it, I just want a bigger font LOL.
I was thinking in a font about 13x18, It's a very big font. I creat it but I cannot use the font.
I try to change de putchar function with no success at all.
Post the code you have tried to modify. That way we can help you see where it might be wrong.
Changing the function to accomodate a bigger font should not be hard. If you want to adapt the existing function then you will notice it always uses a height of 8, this is due to the way the column write works on the GLCD controller. You could modify it to have any height you liked, but unless it is a multiple of 8 (or you don't care about overwriting pixels) a read-modify-write would be required.
Hi edeca
I don't have a version of the putBIGchar. I change ony the values.
For testing purposes I was trying to make a 16x16 font wich is multiple of 8, i try many times to chage the putchar function so I don't have the codee cause I will erase it because anything works. LOL
Now I was looking again to the putchar function but no success.
Hi.
I make my own bold fonts. It looks OK, but when I arrange some chars I will post the const table and the PutBOLDchar function, basicaly is the pommie function but I only change the name of the font for the bold font.
Hi
Has anyone make this functions work on a PIC with a crystal greather than 10Mhz?? I using 10mhz, and it wokrs fine, but when I use 4xPLL, or 40Mhz I only see crazy stuff on the LCD, it seems to me like a timming problem so I try to make longer de delay() but no sucess. I put 20 NOP in the delay function and do not work.
Can anyone help me?
EDIT: Solved