Replies: 3 comments
-
Any link?
What does this mean? Any picture available (e.g. hello world with corresponding code)?
I need more information: Especially where is the visible area of your display located within the 132x65 memory of the controller. I mean, if you use the "U8G2_ST7567_PI_132X64_F_4W_SW_SPI constructor, how does the command look like, that draws a border in your display:
So the question is, which value is required for y so that the frame is fully visible for your display. One more point: Can you also test "U8G2_ST7567_122X32_1_4W_SW_SPI"? |
Beta Was this translation helpful? Give feedback.
-
Thank you for fast reply! Sorry I did not provide all the info, I will try to answer all below: https://www.buydisplay.com/cog-serial-spi-132x32-graphic-lcd-display-no-backlight-st7567a By "half display is visible" I mean that since code vertical height is 64 but display height is 32, I can only see top 32 rows (or second 32 rows, depending on Rotation). The rows that are visible display correctly. The following code gives the display in the attached picture ("no rotation"):
Adding rotation by 180 with this code gives the attached picture ("with rotation"):
Executing drawFrame with the following line (only; no rotation) gives the attached picture ("drawFrame" - the display is correctly outlined):
I realize I can use the display and U8G2 fine by using the half of the display that is visible (depending on rotation), the main reason for my request is to reduce the size of the RAM buffer required! I tried "U8G2_ST7567_122X32_1_4W_SW_SPI" but it does not display anything at all with this selection? I have tried several different text positions, fonts and frames? I have confirmed I'm using the entry with the exact same pin configurations that work for the 132x64 case:
I will look at the code in "u8x8_d_st7567.c" to see if I can spot what might be different between these 2 cases. Please let me know if there is any other information you require? Many thanks for your help! Mark |
Beta Was this translation helpful? Give feedback.
-
I have created an issue (#1869) from this topic. Unfortunately I am not able to work on this topic for the next view days. |
Beta Was this translation helpful? Give feedback.
-
BuyDisplay have this nice small (low cost!) LCD using the ST7567A with 132x32 glass. It works well with "U8G2_ST7567_PI_132X64_F_4W_SW_SPI u8g2(...", except half the display is not visible (and the RAM usage is 2x what is required).
Would it be possible to request this config be added to the release?
Thanks for great work
Mark
Beta Was this translation helpful? Give feedback.
All reactions