Trouble with AdaFruit 16-bit ADC

#include <Adafruit_BusIO_Register.h>
#include <Adafruit_I2CDevice.h>
#include <Adafruit_I2CRegister.h>
#include <Adafruit_SPIDevice.h>

#include <Wire.h>
#include <Adafruit_ADS1015.h>

I'm attempting to use a 16-bt adc to get better resolution but am unable to get the libraries to work. I have installed both through the IDE and only "Adafruit_ADS10115.h" will turn orange and the other won't. Due to this, my program can't run because it says that "Adafruit_ADS1015.h" has no file directory. I have no idea how to fix this issue.

I believe if you check the Adafruit web site and look into your part you will finds a lot of stuff to help you. Adafruit builds great products and unlike many provides good documentation and schematics and for those that want; frizzy pictures.

Please carefully study and follow the "getting started" tutorial on the Adafruit site. Adafruit is very good about helping beginners.

1 Like

Your topic has been moved to a more suitable location on the forum as this has nothing to do with Avrdude, stk500 or Bootloader

Hi,
What model Arduino are you using?

Can you please post the entire code?
I hope it is an example code from the Library?
If not then try one of them?

When you used the IDE Library Manager to load the libraries, did it ask you if you wanted to load any associated libraries that go with the one you installed?

In fact this might be the library you need to use.

Tom... :smiley: :+1: :coffee: :australia:

It was being very funky, but I managed to get it to work eventually. Thank you for all of your suggestions.

For the benefit of future readers, what solved the issue?

I changed the the library call out line from:

#Include <Adafruit_ADS1015.h>

to:

#include <Adafruit_ADS1X15.h>

That didn't work yesterday, but it decided to play nice today.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.