ST7920 (LCD12864) 128x64 Support? #373
-
Been trying TCMenu but having problems with it displaying - all I managed to get displayed is half the menu title. In TCMenu I cannot find U8G2_ST7920_128X64_1_SW_SPI so have been trying all other options that are close and entering the SPI pins (and sometimes changing the constructor in the code) but so far nothing has worked yet works using just U8G2 in other projects. Is the ST7920 (LCD12854) powered displays not supported? as its quite a common display. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I've not actually come across one of those displays, but if you can get it working with U8G2 in a standalone sketch, then it should work with TcMenu without issue. The U8G2 quick start plugin doesn't support all displays, but there is also a "Custom U8G2" option, and this supports all possible options, as you provide the constructed object name that you have already configured and set up yourself. |
Beta Was this translation helpful? Give feedback.
-
After a bit of testing I have successfully got TCMenu to work on the ST7920 LCD's (Common on 3D Printers). First I chose the U8G2 Display Quickstart and left everything (pins etc) blank as changed these in the code. Then I opened the projects .CPP and .H file. In the .cpp files I changed to:
and in the .h file changed Also - had to check "turn on support for UTF-8, and Un-check "Use TcUnicode". Saved, Compiled and uploaded and it displays and functions perfectly. So in saying that, maybe add in an option for this display using U8G2_ST7920_128X64_F_SW_SPI in the dropdown? |
Beta Was this translation helpful? Give feedback.
should be available in 4.1