128x64 display not working

Hello, I’ve been trying to play doom on my arduino uno r3 and I’ve used a 128x64 oled display to play, but every time i power the screen all I see is white with black random dot.
I’ve tried to install all the libraries for the screen and I’ve checked many times the code for the game, screen and constants, but nothing works.
Any suggestions?

Before asking questions:


If your sketch was generated with an AI like ChatGPT or by someone else tell us in your post.


  • Questioners know what their hardware and software looks like but the volunteers here do not; you need to fully explain what’s not working, and how it is supposed to work.
  • Please read all the posting guidelines before asking your questions; follow these guidelines in your post.

Hardware

  • As always, show us a good schematic of your proposed circuit. Hand drawn schematics are acceptable.
  • Show us good images of your ‘actual’ wiring.
  • Give WEB links to your major components.

Software

  • For readability, place { and } on separate lines by themselves, place each line of code on a separate line.
  • In the Arduino IDE, use Ctrl T or CMD T to format your code, then copy the complete sketch.
  • Use the < CODE / > icon from the ‘posting menu’ to attach your copied sketch.


  • When you follow the posting guidelines, volunteers can be more effective.

  • More volunteers will help if you properly post your questions. (77)

  • Make sure you are using the correct library for the OLED you are using. i.e. SSD1306 or SH1106




BTW, it appears your breadboard has split power rails.

Not enough information

With any new module (display or sensor), it is best to start with the recommended library, and get a library example working before trying anything else.

Post a link to the screen product page, and a wiring diagram (hand drawn is preferred), with pins and connections clearly labeled.

Please read and follow the directions in the "How to get the best out of this forum" post, linked at the head of every forum category.

Problem solved:

I look into my crystal ball and the spirits ask:

Are you using a 1.3" OLED display with an SH1106G controller but a sketch that expects to see an OLED display with an SSD1306 controller?