Closed X-Stas-EEE closed 5 years ago
Update with serial or telnet sys.prerelease
then test with one of these
//SPI
Many thanks! Will try it as soon as I get home!
I just have tried your solution. As I understand, my variant is the number 74. But right after choosing this option and reboot, the "KAR" logo was shown for a moment and then the whole screen was filled with black. I managed to notice that logo was shown correctly. Thus, I believe, we are on the right way 👍 It remains only to fix the black screen :)
Do you have some other details for your board? https://github.com/olikraus/u8g2/issues/440
Well, a picture shown on the last display (called ZOLEN) looks similar to a picture I have now (mirrored and shifted). As I remember, I definitely have had a correct picture on my display using olikraus' library. I found the demo sketch for Arduino IDE which make the display work correctly. It will be attached here.
The constructor line that can be useful is the following:
U8G2_ST7565_NHD_C12864_F_4W_SW_SPI u8g2(U8G2_R0, /* clock=*/ 18, /* data=*/ 23, /* cs=*/ 5, /* dc=*/ 2, /* reset=*/ 4);
Please, don't pay attention to pin numbers.
I have attached a picture of my display connected to ESP32 running the attached sketch.
Actually, I have two PDF files with some specs. Please, let me now if you need them to solve the problem.
st7567.zip
U8G2_ST7565_NHD_C12864_F_4W_SW_SPI u8g2 Ok now i know what is the needed constructor. May be tomorrow
Thanks a lot!
Done with
sys.prerelease again.
Now it works perfectly! Thank you very much! Reviewed and CLOSED!
Please add support for the ST7567 display to be available by telnet. For example: 'sys.lcd("74")'
The closest available option is ST7565, but it shows a mirrored and shifted picture.
Thanks!