KS0108 print function

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

Post Reply
Leon07
Posts: 6
Joined: Wed Mar 30, 2016 6:55 am
Has thanked: 3 times
Contact:

KS0108 print function

Post 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
Last edited by Leon07 on Tue Apr 26, 2016 10:08 am, edited 2 times in total.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: KS0108 print function

Post by Benj »

Hello,

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

Leon07
Posts: 6
Joined: Wed Mar 30, 2016 6:55 am
Has thanked: 3 times
Contact:

Re: KS0108 print function

Post by Leon07 »

Hello Benj!

Thank you for reply!
Attachments
Glcd3.fcfx
(7.55 KiB) Downloaded 285 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: KS0108 print function

Post by Benj »

Hello,

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

Leon07
Posts: 6
Joined: Wed Mar 30, 2016 6:55 am
Has thanked: 3 times
Contact:

Re: KS0108 print function

Post 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!
Attachments
Gl2.fcfx
Display empty
(6.08 KiB) Downloaded 292 times
Gl.fcfx
Rectangle visible
(5.73 KiB) Downloaded 309 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: KS0108 print function

Post 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.

Leon07
Posts: 6
Joined: Wed Mar 30, 2016 6:55 am
Has thanked: 3 times
Contact:

Re: KS0108 print function

Post 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. :)

Post Reply