Using a 0.96 OLED display for first time no code will verify

Hello,
I am a complete beginner, so apologies if this is a really dumb question

I am trying to run an Arduino Uno R3 with a 0.96 OLED - https://uk.rs-online.com/web/p/oled-displays/2543586 - that one to be exact and am using this guide
Guide for I2C OLED Display with Arduino | Random Nerd Tutorials

I have wired it up as Arduino Uno to PC and then Arduino GND pin to OLED GND, 3.3V to VCC, A5 to SCL and A4 to SDA.

I have installed both the Adafruit_SSD1306 and Adafruit_GFX_Library

And when I input any of the example code in the guide, or any of the examples in File - > Examples -> Adafruit SSD1306, I get the following error message

In file included from C:\Users\myname\AppData\Local\Temp.arduinoIDE-unsaved2026415-14452-19j2n9p.hjp1\ssd1306_64x32_i2c\ssd1306_64x32_i2c.ino:3:0:
C:\Users\myname\OneDrive - Organisation \Documents\Arduino\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:12:10: fatal error: Adafruit_I2CDevice.h: No such file or directory
#include <Adafruit_I2CDevice.h>
^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1

What am I doing wrong?

Arduino UNO is 5V! Not 3V3.
(not related to your issue, but worth mentioning...)

Hoe did you install the libraries?

  • Always show us a good schematic of your proposed circuit. Show us good images of your ‘actual’ wiring.

  • 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 the copied sketch.

The Random Nerd article is a bit old.

Adafruit_I2CDevice.h is in Adafruit BusIO library. So you need to install it.

I initially installed the libraries by importing them, but I uninstalled them and then re-installed them through IDE manage libraries menu. Everything works now!

Thanks for your help!

Probably nothing as implied in post #2. I bet you will find that display is good for about 2.5/5.5v and works fine with your Uno.