-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split content with 2.42 OLED Display #197
Comments
You need to modify the constructor and the init call on line 23 and 36 of "oled.h". It is now: |
Hi @Edzelf, first thank you very much for your answer. I just noticed I'm in the wrong project with my question (I'm using an ESP32) - but I think you already noticed - reading your answer :) To be honest, I don't quite understand it yet. If "OLED" is defined, the file SSD1306.h is included. Here, oled.h is never used. If I instead include oled.h (where I have changed the two lines of your comment), it doesn't compile since oled.h does not have all the required functions (like for example displayvolume() ). |
You are right. |
Thank you very much! |
Try the new version. I did not test it, because I don't have the right module.
|
Wow - I'm really impressed with how fast you did the refactoring of the oled drivers. I will try it as soon as possible :) Thank you so much! |
Hi @Edzelf, I've just tested it. It's a lot better but not yet quite right. The lines seem to start at different columns Maybe an off-by-one error? |
Did you try all 3 models? Please give me the exact type of the display. Maybe I can find a hint in the datasheet.Vriendelijke groeten,Ed.
…-------- Oorspronkelijk bericht --------
Van: martix90 <[email protected]>
Datum: 20-02-21 10:56 (GMT+01:00)
Aan: Edzelf/Esp-radio <[email protected]>
Cc: Ed Smallenburg <[email protected]>, Mention <[email protected]>
Onderwerp: Re: [Edzelf/Esp-radio] Split content with 2.42 OLED Display (#197)
Hi @Edzelf, I've just tested it. It's a lot better but not yet quite right. The lines seem to start at different columns Maybe an off-by-one error?
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "#197 (comment)",
"url": "#197 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
Hi @Edzelf , I now tried all three models (OLED1306, OLED1309 and OLED1106). The model I use is called "DIY MORE" and says on the back "2,42' OLED, SSD1309", here's a links: One thing that I saw is that isSH1106 is initialized with true but there's also the line:
So there's not really the chance for it to be false. Thank you and greetings from Germany |
I think I found the issue: //i2c_master_write ( i2Cchan, fillbuf, 4, true ) ; // Yes, fill extra RAM with zeroes |
Great! |
Hi,
I really like this very cool project and want to build my own WebRadio.
I would like to use a 2.42 OLED display that I have around. This uses an SSD1309 Chip, which (according to most Docu) is almost identical to the SSD1306. But when I configured this project to use the OLED display, the image is split in half and the left side is right and the right side is left (see image).

If I use an example sketch with u8g2 the display works just fine.
Is there any idea what could cause this issue? Or is this type of display simply not supported? I think there's not much missing for it to work correctly...
The text was updated successfully, but these errors were encountered: