Page 1 of 1

KS0108 print function

Posted: Sun Apr 24, 2016 7:31 am
by Leon07
Hi!

I using Displaytech 64128Q 128x64 dot matrix lcd (controller/driver SB6400G-D/SB0064, eqv. KS0108). Problem: print text message not visible or not working. Draw rectangle and line it's work. I probably setting foreground and background colors (properties panel and componens macro-lcd) and search the forum similar problem, but did not succeed. If i using the print function (text or numbers), sometimes vertical lines draws the display (left top => right bottom). I using Flowcode 6.1.3.2., trying previous version (v. 6.1.2.0.), and in the forum repaired gLCD_KS0108.fcpx. Any ideas?

P.S.: Sorry my bad english.

Image

Re: KS0108 print function

Posted: Mon Apr 25, 2016 11:37 am
by Benj
Hello,

Please can you post your program so we can have a look. Thanks.

Re: KS0108 print function

Posted: Tue Apr 26, 2016 8:11 pm
by Leon07
Hello Benj!

Thank you for reply!

Re: KS0108 print function

Posted: Wed Apr 27, 2016 3:43 pm
by Benj
Hello,

In the configuration options set the Extended Instruction Set item to disabled. Hopefully this should solve the problem for you.

Re: KS0108 print function

Posted: Wed Apr 27, 2016 9:51 pm
by Leon07
Hello Benj!

Thank you for the idea, i set extended instruction set enable bit (Xinst) "enable", but there is not a change. If I claim a text (Print) and rectangle, it's empty the display is left over, if only rectangle, it appears then. Maybe this Glcd not compatible the Ks0108? Do not be looking for a solution if this is the situation, I would not like to hold you up with a unnecessary problem. Thank for your help, have a nice day!

Re: KS0108 print function

Posted: Thu Apr 28, 2016 10:09 am
by Benj
Hello,

You need to set the config setting to "disabled" and it should solve the problem.

When the extended instruction set is enabled it causes problems with string based data.

As your able to print objects correctly it looks like the display is fine and it's just the strings that have an issue.

Re: KS0108 print function

Posted: Thu Apr 28, 2016 8:56 pm
by Leon07
Hello Benj!

Thank you for your help, there is not a change (XINST enable or disable). It might be that your truth, and the chip config settings the problem. I have little time now this way, but I write here if he will be a change. I say thank you for it once more, with a step more forward I am. :)