-->
Page 1 of 1

OLED screen 128x32

PostPosted: Fri Aug 11, 2017 5:14 am
by its1000
Hi guys
I have tried to pilot OLED screen from Basic ESP. it works perfect with the 128x64 screen.
I also tried with the 128x32, but this one is seen as a 128x64 and so the draw is not great.

if you can add the support of this screen would be nice.

thanks

Re: OLED screen 128x32

PostPosted: Fri Aug 11, 2017 3:11 pm
by QuickFix
its1000 wrote:I also tried with the 128x32, but this one is seen as a 128x64 and so the draw is not great.

This is actually not the fault of the library (I'm using Arduino BTW), but of the board: the I2C 128x32 OLED is actually (in hardware) a 128x64 display where only the odd (or even, can't remember) rows are used. :idea:

ImageThe one I'm talking about is the one on the far right.

So for the row (Y-axis) positions in your code, you'll have to double everything.
Note that this is also true for fonts: they will look very odd (chopped off tops or bottoms) when not taking into account the missing in-between lines.

It is perfectly doable, but can be a pain to get it right.

Re: OLED screen 128x32

PostPosted: Fri Aug 11, 2017 4:50 pm
by Electroguard
Thanks for giving the guy such an impressive response to his problem, QuickFix.

Re: OLED screen 128x32

PostPosted: Fri Aug 11, 2017 6:34 pm
by its1000
Thank you very much for this clear explanation.
so with the Basic interpreter I think the management can't be easily implemented.
not a huge issue to be honnest. it's yet fantastic to be able to use the square version of the oled screen !

I think for the font, nothing to do,
for the graphic, I'll try to use the only even or odd option to see if I can get a nice square or line !