-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rp pico no display output #152
Comments
Make sure that you are calling tft.init() to initialize the display. The pure Python driver does this automatically, and the C version does not. |
Yes, sir. I have included this command in my code. However, I forgot to add the "tft.init()" line here. Even after trying to delete or double it, the code still does not work. I am confused about what is included in the https://github.com/russhughes/st7789py_mpy library and what is not contained in the compiled version. |
@omrfrmll: Maybe you have already solved it. Maybe next will help you. I do have a ST7789 TFT-display working on Pico using the great russhughes st7789_mpy driver (built-in custom firmware), but using SPI0 (on a Grove PICO shield). You seems to use SPI1, but I've two remarks: SPI1_CS=Pin(9) and I've read that baudrate is at most 30_000_000. Pins according to Raspberry PICO pin layout at https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html PS. I'm a software person, not hardware. It might be acceptable using other pins then the hardware-SPI pins. Kind regards, Peter |
Hello;
I am currently using rp pico and bought this st7789 lcd:
I still trying to get any pixel light on except backlight. while trying https://github.com/russhughes/st7789py_mpy this library, the screen is working but on compiled firmware does not work.
here is my configs while using https://github.com/russhughes/st7789py_mpy library:
and here is the compiled uf2 file uploaded firmware configs:
I cannot find where did I go wrong. Could someone help please...
The text was updated successfully, but these errors were encountered: