cant get it to work with a simple hello world program
can anyone help me please ?
ST7789 240x240
I have problem with ST7735 on hardware SPI. LCD start on software SPI but is slow. Tray software SPI.
https://forum.arduino.cc/index.php?topic=677316.0
Please post links to the actual displays that you have bought. e.g. Ebay sale page
And say which Arduino board e.g. Uno, Zero, Due, ..., Pro Micro [ 3.3V/8MHz or 5V/16MHz ]
David.
I bay on Aliexpres. Red 1.8" with SD card. 3.3 -5v. I connect the pins directly to ARDUINO NANO, but they jam through the resistors 1k. Maby this is the reason why dont work on hardware spi.
Red 1.8" with SD card. 3.3 -5v
means nothing. If I search for Red 1.8" with SD card. 3.3 -5v on AliExpress I get 1,953 Results.
Compare your answer with #4
I can identify the actual items by using the links.
Your Arduino is: Leonardo Mini Pro 5V 16M Geekcreit microcontroller development board for Arduino
Your LCD is: 1,3 polegadas IPS TFT LCD Display 240 * 240 Cor HD LCD Tela 3.3V ST7789 Módulo Driver
You will damage the display with 5V power. You need 3.3V power and 3.3V logic. e.g. level-shifters on each signal pin.
I have the same LCD. It works fine with the correct power and logic e.g. from Due, Zero, ESP32, ...
There are several libraries that support this display (which has no CS pin)
David.