Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, a web toolkit designed to help citizens, conservation practitioners, municipal decision-makers, researchers, educators, and students advance knowledge and stewardship of fresh water. New to EnviroDIY?Start here
Compilation Error with Adafruit ADS1015 in Modular Sensors
I am currently trying to learn and understand how to properly use the modular sensors library for the Mayfly 1.1. I have downloaded the libraries through EnviroDIY, and I am using the Arduino IDE. When I go to compile code based on the modular sensors library, or I use an example such as simple_logging.ino, I get the following error:
c:\Users\Braedon Dority\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src\sensors\ApogeeSQ212.cpp:15:10: fatal error: Adafruit_ADS1015.h: No such file or directory
I believe it is because the library for the Adafruit ADC is titled Adafruit_ADS1X15 and not Adafruit_1015. When I went into the ApogeeSQ212.cpp file and changed the included header to match what I have from downloading the libraries, my original code threw back the same error but this time for a different sensor when I compiled it again. I’m assuming that I am doing something wrong with the modular sensors library since all I did was compile the simple_logging.ino example file and it gave me this error. Any help would be great!