At my rainwater-cistern level-measurement, I use a blue 128x32 OLED Display (DIY MORE OLED-091).
Because the chars from the P023_OLED-plugins are to small to read, I used the plugin P036_FramedOLED.
When I configure a nomal orientation, some of the chars at the display are confused. With a orientation "rotated" the display is clear!
Look here:
Here are my config's:
Firmware: mega-20190607
Any idea, where does this problem come from? Thanks...
Micha
Some chars are confused on 128x32 OLED
Moderators: grovkillen, Stuntteam, TD-er
Re: Some chars are confused on 128x32 OLED
That's a font rendering issue.
The 128x64 and 128x32 use the same pixel addresses.
Meaning the 128x32 is just leaving out half of the pixel lines.
The OLED framed plugin officially does not have support for those small displays.
It may work, but just as you show on your pictures, it does need fonts which are optimized to only use single pixel horizontal lines on the odd or even lines and also shift the entire displayed image a single line when rotating it.
The 128x64 and 128x32 use the same pixel addresses.
Meaning the 128x32 is just leaving out half of the pixel lines.
The OLED framed plugin officially does not have support for those small displays.
It may work, but just as you show on your pictures, it does need fonts which are optimized to only use single pixel horizontal lines on the odd or even lines and also shift the entire displayed image a single line when rotating it.
Re: Some chars are confused on 128x32 OLED
Damn, then I'll have to replace the display again
Re: Some chars are confused on 128x32 OLED
The non "framed" oled plugin does have support for the 128x32 display, so you may also try that one first to see if it will fit your needs.
Re: Some chars are confused on 128x32 OLED
That's correct, with the non-framed version the text is clear, but...
the Chars unfortunately are so small, that you can't read it when you look at the display from a distance of ~ 0,5m
@all: Has someone a modified version of the non-framed plugin, with a larger font ? I only need 0-100% on the display.
the Chars unfortunately are so small, that you can't read it when you look at the display from a distance of ~ 0,5m
@all: Has someone a modified version of the non-framed plugin, with a larger font ? I only need 0-100% on the display.
Re: Some chars are confused on 128x32 OLED
I've modified the plugin for my 128x32 OLED. Now it looks ok:
The modifications are:
https://github.com/Micha-he/ESPEasy/com ... 28415de9c7
or from this zip: My programming-skills in c++ are not enough, to integrate it as selection in the web-interface like in P023_OLED-plugin
The modifications are:
- Modified Init-Command for 128x32 OLED
Disable Header & Page indicator to get more place
Reduce to max. 3 lines (with 10pixel-font)
Modify line-heights for 32pixel display height
Modify scroll-area to full 32pixel display-height
https://github.com/Micha-he/ESPEasy/com ... 28415de9c7
or from this zip: My programming-skills in c++ are not enough, to integrate it as selection in the web-interface like in P023_OLED-plugin
-
- New user
- Posts: 7
- Joined: 05 Jan 2018, 16:26
Re: Some chars are confused on 128x32 OLED
I just created a PR https://github.com/letscontrolit/ESPEasy/pull/3311 for supporting the 128x32 display in the plug in [P036_FrameOLED].
Changes are:
NEW: Setting the correct COM signals pin configuration to match the OLED panel hardware layout for 128x32 display
NEW: Option to hide the header
CHG: Calculate font setting, if necessary reduce lines per page (fonts are not longer a fixed setting)
CHG: Reduce espeasy_logo to 32x32 to fit all displays
CHG: Calculate font setting for splash screen
Changes are:
NEW: Setting the correct COM signals pin configuration to match the OLED panel hardware layout for 128x32 display
NEW: Option to hide the header
CHG: Calculate font setting, if necessary reduce lines per page (fonts are not longer a fixed setting)
CHG: Reduce espeasy_logo to 32x32 to fit all displays
CHG: Calculate font setting for splash screen
Who is online
Users browsing this forum: No registered users and 19 guests