Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm trying to use your ADS1115 library for a current sensor project I'm working on right now. When i use that library it gives this error: #752

Open
jrowberg opened this issue Jun 23, 2023 · 1 comment

Comments

@jrowberg
Copy link
Owner

I'm trying to use your ADS1115 library for a current sensor project I'm working on right now. When i use that library it gives this error:

In file included from D:\college stuff\Internship\Arduino\ads\ads.ino:35:0:

C:\Users\adity\OneDrive\Documents\Arduino\libraries\ADS1115/ADS1115.h:40:10: fatal error: I2Cdev.h: No such file or directory

#include "I2Cdev.h"

      ^~~~~~~~~~

compilation terminated.

exit status 1

Error compiling for board Arduino Nano.

Can you tell me what should i do to correct this error. I'm new to this and would like your help.
Thank you.

Originally posted by @Aditya-Ratnakar in #595 (comment)

@jrowberg
Copy link
Owner Author

It looks like you downloaded only the ADS1115 library (into the correct place), but you didn't also download the I2Cdev library that it depends on. Make sure you also put that one in your \Arduino\libraries folder, then I expect the compile problem will disappear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant