Issue SH1107 #466
evanderkuy
started this conversation in
General
Replies: 2 comments
-
It is supported by U8G2 olikraus/u8g2#501 so you could use it. There may not be a quick start for it, but it should be possible using the manual U8G2 plugin. The only difference is that you need to declare the variable yourself in your code and tell the plugin the variable name and type. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi Dave,
Yes, I figured it out and noticed on the U8G2 Git repository they support the board with SW SPI. So now I have everything working. Speed is also much better and acceptable. Thank you so much for letting me know!
From: Dave Cherry ***@***.***>
Sent: Friday, May 3, 2024 9:56 AM
To: davetcc/tcMenu ***@***.***>
Cc: Etienne van der Kuy ***@***.***>; Author ***@***.***>
Subject: Re: [davetcc/tcMenu] Issue SH1107 (Discussion #466)
It is supported by U8G2 olikraus/u8g2#501<olikraus/u8g2#501> so you could use it. There may not be a quick start for it, but it should be possible using the manual U8G2 plugin. The only difference is that you need to declare the variable yourself in your code and tell the plugin the variable name and type.
—
Reply to this email directly, view it on GitHub<#466 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BGWUWGRUO5V25IMGBUHLAHTZAM7J3AVCNFSM6AAAAABG5DH6FKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TGMBSHE3TS>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Dave,
(created a new ticket for this issue).
I am using the Waveshare OLED 128x128 (black/white) with a SH1107 driver and Adafruit libraries (because of my SW SPI pins as U8G2 does not support it for the SH1107.
In the file tcMenuAdaFruitGfx.h I have 2 errors in the functions drawCookieCutBitmap and drawCookieCutBitmap2bpp stating "incomplete type not allowed". I declare the gfx object with Adafruit_SH1107 gfx(128, 128, 18, 17, 2, -1, 13);
I use Platformio on Ubuntu and I use these libraries :
davetcc/tcMenu@^4.2.1
davetcc/TaskManagerIO@^1.4.1
davetcc/IoAbstraction@^4.0.2
davetcc/tcUnicodeHelper@^1.0.0
davetcc/SimpleCollections@^1.2.3
adafruit/Adafruit GFX Library@^1.11.9
adafruit/Adafruit SH110X@^2.1.10
I do not have the issue when I use a TFT display with a ST7789 driver as it runs perfectly fine using the same pins. When I create a project with only a Adafruit example it works fine.
Any clues, I have ordered 25 displays at Waveshare, so I hope I can still get it to work ;-).
Beta Was this translation helpful? Give feedback.
All reactions