Adafruit Libraries Problem
In this article I will explain how to fix the Adafruit_I2CDevice h No such file or directory when using the Adafruit library.
Adafruit is one of the manufacturers of electronic devices such as Arduino variant boards and sensors, they are also the best contributor to the Arduino IDE library.
It is very handly and free to use. You can use this library as you like.
One of the most popular libraries is Adafruit OLED. Which contains a complete function of controlling oled also contains some examples you can use.
However, to use the library from Adaftuit is not as easy as imagined. There are some conditions, one library will depend on another library made by them.
No such file or directory
So we will add more than one library for example if you use oled. OLED will require 2 main libraries namely Adafruit_SSD1306 and Adafruit_GFX library.
But after that libraries are installed, there will be one more problem that you use, error appear : Adafruit_I2CDevice h No such file or directory. Why this happened?
This happens because you are missing one more library. You have to install it because in the library there is one function that is needed.
How to fix this error?
To fix the fatal error: Adafruit_I2CDevice.h: No such file or directory just add the BusIO library. It’s very easy.
- Open Arduino IDE
- Click the Sketch Menu -> Include Library -> Manage Libraries
- Search BusIO
- Then Install wait until it’s finished.
Hopefully this Adafruit_I2CDevice h No such file or directory article is useful.
> Build your own Compas using Arduino Magnetometer
> Adafruit_Sensor.h: No such file or directory
> INA219 Arduino Basic Code, Library and Tutorial
> Show a Degree Symbol Serial Monitor Arduino
> MG995 Servo Arduino Code Continuous Rotation
> RFID RC522 Arduino Basic Code Tutorial
> Stray 302 Arduino, How to Fix It?
> Burn Bootloader Attiny13 Arduino
> Change Font Arduino IDE Editor
Merci, grâce à ce fichier AMG8833 fonctionne bien.
Have a nice day.
Muchas gracias no podía saber de donde provenía el problema esto lo resolvió. Saludos!
Que tengas un lindo día.
Thank you, problem solved