Hello!
I've found some problems around this component.
1: The number 5 is ugly. Is it possible to change to a better look type? See picture, some Photoshop work.
2: In the simulation, not possible to use the first line of the display. The first line never shown.
3: In the simulation, the attachet program works well. Fill the display with lines, and fills it again with white lines. In the real life, the display fills only one time and nothing else happens. I think, the "SetForegroundColor" command not working.
Thank you!
GLCD (KS0108) bugs
Moderator: Benj
- 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: GLCD (KS0108) bugs
Hello,
First please can you make sure you are running the latest version of Flowcode 6.
I have hopefully already fixed the offset bug and in the attached component I have also changed the font for character '5' as requested.
I have also found and fixed the bug in the KS0108 where the foreground and background colours are altered.
Simply copy the two attached files to your "Flowcode 6/Components" directory before starting Flowcode and the changes will be loaded.
Let me know how you get on.
First please can you make sure you are running the latest version of Flowcode 6.
I have hopefully already fixed the offset bug and in the attached component I have also changed the font for character '5' as requested.
I have also found and fixed the bug in the KS0108 where the foreground and background colours are altered.
Simply copy the two attached files to your "Flowcode 6/Components" directory before starting Flowcode and the changes will be loaded.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Bachman
- Posts: 116
- Joined: Sun Sep 07, 2014 11:37 am
- Location: Hungary
- Has thanked: 9 times
- Been thanked: 53 times
- Contact:
Re: GLCD (KS0108) bugs
Hello Benj!Benj wrote:Let me know how you get on.
Sorry for the late reply!
In the simulation the display looks better. It has got a little offset, but better than the previous version.
The "SetForegroundColor" and "SetBackgroundColor" commands works. But! In the simulation it has no any effect, in the HW the colors has interchanged.
The Help Tag (and the Flocode online help) tells me 0 means white, 1 means black but in the HW 0 means black, 1 means white. In the HW the foreground and background colors starting interchanged, not as shown in the simulation.
Thnk you for the new number "5", it's looks much better!
I'm using Flowcode 6.1.2.0, if i know well, this is the latest at this time.
All the best!
- Bachman
- Posts: 116
- Joined: Sun Sep 07, 2014 11:37 am
- Location: Hungary
- Has thanked: 9 times
- Been thanked: 53 times
- Contact:
Re: GLCD (KS0108) bugs
I made some tests, my previous post contains mistakes because the bug a little bit complicated.
The basic problem in the "SetBackgroundColour" and in the "SetForegroundColour". 0 means black, 1 means white. It's working as same as in the simulation and in the HW.
Bigger problem found in the "ClearDisplay" command. In this command, 1 means white in the simulation, in the HW, 1 means black. When you set the BGColour to 0 and clears the display, the simulator turns the display to black, the HW turns it to white.
Used your modified component.
I hope you understand, my primary language is not english.
The basic problem in the "SetBackgroundColour" and in the "SetForegroundColour". 0 means black, 1 means white. It's working as same as in the simulation and in the HW.
Bigger problem found in the "ClearDisplay" command. In this command, 1 means white in the simulation, in the HW, 1 means black. When you set the BGColour to 0 and clears the display, the simulator turns the display to black, the HW turns it to white.
Used your modified component.
I hope you understand, my primary language is not english.