[Solved ]OLED: half pixels present..

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

[Solved ]OLED: half pixels present..

Post by MJU »

I'm using the Flowcode V6 "gLCD_SSD1306_buffered" component with a cheap "Ebay Oled".
This display has 128*64 pixels and uses 5 pins on the controller.

Most of the macro's for this component work fine, but the text that is printed uses only half of the pixels.
Between every pixel in a letter there is a blank pixel.

Is this a Flowcode problem?
Do other platforms have missing pixels?

How can I make the display to plot every pixel I have paid for? :-)
OLED.jpg
Line plotted next to a random text..
(77.58 KiB) Downloaded 869 times
Last edited by MJU on Mon Nov 23, 2015 1:56 pm, edited 1 time in total.

EtsDriver
Posts: 444
Joined: Tue Apr 15, 2014 4:19 pm
Location: Kajaani, Finland
Has thanked: 345 times
Been thanked: 227 times
Contact:

Re: OLED: half pixels present..

Post by EtsDriver »

It might be the font itself that creates that? Have never noticed before... Or then it is the font stored inside the LCD itself, but this usually applies only to the character LCDs.
Ill just keep the good work up!

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: OLED: half pixels present..

Post by Benj »

Hello,

Does the "Interlaced" component property do anything to the problem if you alter the value? I can't see anything specific in the print routine which would cause this and the font is standard across all graphical LCD's so shouldn't be the cause. What about if you draw a diagonal line, does this show the problem?

MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

Re: OLED: half pixels present..

Post by MJU »

Benj wrote:Hello,

Does the "Interlaced" component property do anything to the problem if you alter the value? I can't see anything specific in the print routine which would cause this and the font is standard across all graphical LCD's so shouldn't be the cause. What about if you draw a diagonal line, does this show the problem?
It was indeed the 'interlaced' option causing the problem.
When turning this option on, all pixels are shown.
Problem solved..

Thanks BenJ!

GTF
Posts: 170
Joined: Sat Dec 10, 2011 7:21 pm
Location: Canada
Has thanked: 20 times
Been thanked: 52 times
Contact:

Re: [Solved ]OLED: half pixels present..

Post by GTF »

I just received a few SSD1306 64 x 128 .96" displays. I have configured for I2C. It appears to me that when Interlaced = NO is selected, every second line is skipped so that the Y dimension is doubled. Here is a short video. The only difference between the first and second half is that Interlaced was changed from NO at the beginning to YES for the latter portion. Font size = 2 for both. (Wish there was a larger font.)

https://youtu.be/lyH4soFWATE

Post Reply