Waveshare Pico ResTouch LCD 2.8 SPI ST7789 display #31
-
Hello Peter, I am trying to get the above display to work with the following code: main_2inch8.py.txt I get no errors and my backlight lights up. Can you give me a hint how to proceed? Best regards, Tim Wermer |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 10 replies
-
It is hard for me to support hardware I don't possess, however this display should work. The Waveshare link says it comes with a MicroPython demo. Does that work? Have you tried the procedure here? This is the best way to verify your hardware and your |
Beta Was this translation helpful? Give feedback.
-
My Pico example has MISO as GPIO 8, which is the pin identified on the Pico diagram. I don't know if this matters as there is no data coming back, but it might be worth a try. Also look at this example which is for a Waveshare display. Note that some special args were required. It's quite likely you'll need Good luck. |
Beta Was this translation helpful? Give feedback.
-
If you get it to run please post your setup file and I will publish it (with your attribution). |
Beta Was this translation helpful? Give feedback.
-
Please could you post your setup file and I'll publish it. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hello Peter, Here are the files as requested. Thanks again for your great work! |
Beta Was this translation helpful? Give feedback.
-
I hadn't spotted the changes you made to the device driver. I notice your driver initialises I've posted your setup adapted to use the 4-bit driver. |
Beta Was this translation helpful? Give feedback.
-
OK, I can't see why the 4-bit driver isn't working. Given that your 16-bit version works I'm sure it can be fixed. I'll order one of these displays and (hopefully) post a solution. |
Beta Was this translation helpful? Give feedback.
-
I received a board today. This setup file enables nano-gui to run with the 4-bit driver. It can be run in landscape or portrait mode, but the SSD constructor args to achieve these modes are rather unexpected. See code comments. |
Beta Was this translation helpful? Give feedback.
-
I'm glad you have it working. The file The file you need is the official driver sdcard.py. I like the board except that it has no easy way to access unused GPIO pins. To run |
Beta Was this translation helpful? Give feedback.
I received a board today. This setup file enables nano-gui to run with the 4-bit driver. It can be run in landscape or portrait mode, but the SSD constructor args to achieve these modes are rather unexpected. See code comments.