Arduino Nano and 0.96 i2c oled screen not working When I try to scan the i2c address it stays stuck on &quot;i2c Address Scanner&quot; which is the first line of the code.
My screen is connected with VCC-5V, GND-GND, SCL- 4.7K resistor-&gt;A5, SDA- 4.7K resistor-&gt;A4.
Nothing displays on screen, and I even tried without the resistors. I also tried with some 10K resistors and same result.

Here in the picture you can see how I connected the screen to the nano. SDA-A4, SCL-A5, VCC-5V, GND-GND.
From what I am reading it is not properly connected.  You are getting what I would expect. ACL of the device goes directly to A5 and a pull up resistor to +5. Same thing with SCL, connected directly, both need pull ups. You did not state what it is connected to. If there is nothing connected you will get nothing. Also the old wire library did not support timeout so you could hang indefinitely.