Waveshare 2.42 inch spi display not working

I’m building a mini arcade using an Arduino Nano R4 and a 5-way push switch.

I originally had the screen working on a regular Nano, and after a few iterations of my code it gave me an error saying the SRAM was full. Because of that, I upgraded to the Nano R4.

After switching to the R4, the screen stopped working. I tried the screen again on the original Nano, but now it doesn’t work there either.

I’m using the Adafruit SH110x 128x64 SPI example code with the following pinout:

VCC → 5V
GND → GND
DIN (MOSI) → D11
CLK (SCK) → D13
CS → D10
DC → D9
RST → D8

I’ve already checked all the wiring and even tried multiple wiring setups, but the screen still won’t work.

Does anyone know what could be causing this issue?

Silly question, but since you don't mention it, do you have BL (backlight) hooked up?

The screen I am using doesn't have it the picture has the pinout of the display

I doubt that switching to the R4 was why the screen stopped working. Now, something hardware wise that happened while you were doing that, that seems possible.

A wiring mistake, like, for example, reversing 5V and GND when you were doing it, that would have done it.

There are other possibilities. Perhaps while handing the display, a connection came loose. Perhaps the FFC isn't making good contact. Perhaps on the conductors in it has an minute break. Perhaps one of the solder joints on the header gave way.

When I change it over to the r4 I used the exact same pinout that i used for the original nano and i dont think it is a connection issues because I got new wires which have sold connection and i have inspected the solder connection and nothing looks out of the ordinary

You asked what could be causing the issue. Occam's Razor. Or, "when you hear hoofbeats, think horses, not zebras."

Good luck with your project.

I have tried everything that I have said, and it is still not working, that is why I am asking