Hi Koen, You don't give us much to go on. > I tried the glcd_ks0108.jal with succes.. I modified some things and > added my own code.. So you changes something, but don't tell us what. And please tell us what compiler version you use (with date).
> Now.. Here's a problem. > My font is broken. What font? A standard one? One you modified, created? Has it worked before? > instead of showing the letters. It shows something like an "=" sign.. > (only with 3 stripes.. 1 top, 1 center, 1 bottom) That's clear! > I removed the "pragma inline" from the "lcd_write_char" which actually > made it worse. This is not. What is worse? I guess the worst that can happen is that each pixel is inverted to what it is supposed to be, but that would be an achievment for a bug ;) > But.. when i put it back.. it also doesn't work! What do you mean? Does it behave like before? Or is there other behavior? Did you change anything else? > Also.. when i use the same module in a different project. Nothing is > wrong! Did you use all the same features of this library in an other project on exactly the same hardware? And with the same modifications made to this library? If the exact library code you use works in an other configuration, there is probably something wrong with your new project (something you're doing different) or you might have run into a compiler bug. If it is a compiler bug, the best way to proceed is to take your non-working project, and (in steps) remove code that is not essential for glcd to work. Once you have a working verions, go back one step to the last non-working verion and remove less code. Repeat this until you have two versions that have little difference and one of which is working and one not. Then, compile both versions with -debug option and suppy all files (source, library files and 2 asm files). Of course you can work the other way around: take your working project and extend it to the new one. Joep -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
