Thanks for that. This is the code I think with all your input but still not working. Quadruple checked connections as well. All uploaded and restarted fine. Am I missing something? Did you change the ST7789 file at all?
#include <SPI.h>
#include <Adafruit_GFX.h>
#include <Adafruit_ST7789.h>
// GPIOs based on your wiring
#define TFT_RST 1
#define TFT_DC 4
#define TFT_CS 2
#define TFT_MOSI 9 // Data out
#define TFT_SCLK 7 // Clock out
Adafruit_ST7789 tft = Adafruit_ST7789(&SPI, TFT_CS, TFT_DC, TFT_RST);
void setup() {
SPI.begin(TFT_SCLK, TFT_RST, TFT_MOSI, TFT_CS);
//Serial.begin(115200);
tft.init(240, 280);
delay(1000);
tft.setSPISpeed(10000000); // 10 MHz max
tft.setRotation(1);
tft.fillScreen(ST77XX_BLACK);
tft.setTextColor(ST77XX_WHITE);
tft.setTextSize(2);
tft.setCursor(10, 10);
tft.println("Hello NV3030B");
}
void loop() {}
Sorry it took me so long to reply I had to wait for the server to let me resubmit a reply you might want to check and make sure you have the driver library for your display the ADA fruit driver won’t work with that display once you get that I can try and help you get it to work but before then you need to make sure you have the right libraries
I found a driver for it an am trying to use that but still with no success. I have managed to get a mix of cloured bars on screen an using the serial monitor can see the display is getting initialised with this output
Can you tell us what libraries you have found that support NV3030B?
If you post an entire sketch using the NV3030B library, someone may be able to help.
I totally understand that frustration I don’t know if this applies to you but when I was trying to get in my display to work I couldn’t use a breadboard I had to directly solder to the Xiao which isn’t ideal but it didn’t work until I did that but yeah more information on the driver you found and who made it could be helpful as well as you can get the link information from Arduino if you click on the more information button and then you can paste the link that it gives you here and we can look at it so if you look up the driver from the libraries folder in Arduino the one that you installed should have a button on it that says more info it will open a link
Also I technically didn’t use a breadboard I used a PCB that I had attached everything to with solder joints it was kind of messy and that could have also been an issue just to clarify I had the prongs attached to the Xiao and then connectors to a custom-cut PCB where I had just soldered the screen to those correct joints from the side and had soldered the wires to the bottom of the pins from underneath
I have tried adafruit GFX and TFT eSPI but both still both lead to a blank display. The backlight is on just no matter what I try it remains blank. I have directly soldered onto the board and checked connections under microscope. I am really at wits end here and have wasted days trying every permutation I can think of!
What is the best library to use? I have tried Adafruit GFX, TFT ESPI and GFX library for Arduino. Changed the configs to suit the pins I am using and set correct display attributes. I have even used the Waveshare provided display ino and supporting files and still nothing. Think i have checked wiring 10 times now and all is solid. The TFT espi library never seems to work well with it erroring Guru Meditation Error: StoreProhibited crash
AFAIK if the TFT_eSPI.h is the best one if your driver is supported. It is a task to configure but always well worth it. Run the USER setup INO code to see what your configuration is, adjust it from that and proceed…
I did read it and used the files they provided for the ESP32 but none of it worked. I have given up on the 1.83 inch as it uses a NV3030b board that no one seems to support. I have a smaller screen using the 7789 which works fine with the arduino GFX library which sucks as its a really nice screen.
If you have gotten the smaller screen to work with the 7789 driver and then it really does just come down to the library that you’re using you need to make sure you have the library for the driver chip that you have the command and protocols can be different and you will need the library to specifically support that driver nv3030.