• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Firebase Code Libraries for OLED display Error

Q&A Forum › Firebase Code Libraries for OLED display Error
0 Vote Up Vote Down
Prakash asked 4 years ago

Adarfuit GFX library, fatal error: Adafruit_I2CDevice.h: No such file or directory
While following the Firebase book, after adding the Adafruit SSD1306 and Adafruit GFX library in Visual Studio Code I get the error as in image. My Plaformio.ini is

[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
monitor_speed = 115200
lib_deps =
    mobizt/Firebase Arduino Client Library for ESP8266 and ESP32 @ ^2.6.2
    adafruit/DHT sensor library@^1.4.3
    adafruit/Adafruit Unified Sensor@^1.1.4
    adafruit/Adafruit SSD1306@^2.4.7
    adafruit/Adafruit GFX Library@^1.10.12
 
What is wrong madam? https://drive.google.com/file/d/1xrtxQFTiutDzryphBr2CQkw89cx03FOg/view?usp=sharing

Question Tags: AdafruitGFX library, Firebase
4 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
I don’t know why you’re getting that issue.
But, you probably need to install the Adafruit_I2CDevice library.
Install that library and then, tell me if that solves the issue.
Regards,
Sara

0 Vote Up Vote Down
Prakash answered 4 years ago

When I searched  “Adafruit_I2CDevice” in the library I got the suggestion “AdafruitBusIO ” is it OK?

0 Vote Up Vote Down
Prakash answered 4 years ago

I added “AdafruitBusIO” in the library and it got successfully compiled. Thank you very much for your prompt help.🙏

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Great!
I’ll mark this issue as resolved.
If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.