Skip to content
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

Support for other OLED drivers? #29

Open
RipperFox opened this issue Jun 18, 2021 · 4 comments
Open

Support for other OLED drivers? #29

RipperFox opened this issue Jun 18, 2021 · 4 comments

Comments

@RipperFox
Copy link

I shot myself a bit in the foot and accidentally bought an OLED with a SH1106 chip instead of a SSD1306 based one.
At least the pin out allows to solder it directly to my T-Beam (any idea where I can get a SSD1306 based OLED with VCC,GND,SCA,SCL pin out?).
It works if I use the library from https://github.com/nhatuan84/esp32-sh1106-oled
I'm no embedded dev, but shouldn't a more universal OLED library be used in which the display could be configured?

@db1sdj
Copy link

db1sdj commented Sep 21, 2021

I wanted to reprogram my RDZSonde board with the lora-aprs-Tracker. Me too had the wrong display (the one from RDZSonde: with the color ILI9225 chip) for the tracker SW.
So I am interested too with the possebility of changing the type of display.
The SW is functioning, but no display.

@xe2ad
Copy link

xe2ad commented Aug 3, 2022

Hi RipperFox, @RipperFox
How did you include the SH1106 libraries at Platformio ? I can´t find a correct way to include them at the platformio.ini, so I downloaded them and put the path of the library where it is saved at my computer but neither of both options work.
Also I replaced at the display.cpp file all the "SSD1306" by "SH1106" but it didn´t work.

@RipperFox
Copy link
Author

@xe2ad Huh, that was a while ago :)
I think I just downloaded the lib from https://github.com/nhatuan84/esp32-sh1106-oled and threw it in the src folder and modified the display.cpp a bit - see attached file
display.zip
t

@xe2ad
Copy link

xe2ad commented Aug 4, 2022

@RipperFox Many thanks for the display.h file !!!!
I drag the nhatuan84 libraries into the .pio/libdeps/ttgo-t-beam-v1 and that issue has gone.
At the beginning when I used your display.h, I got another error, related with a display_toggle variable... at the end I commented that variable and the display started to work!
Thanks again for your help!
-David.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants