Welcome to EnviroDIY, a community for do-it-yourself environmental science and monitoring. EnviroDIY is part of WikiWatershed, an initiative of Stroud Water Research Center designed to help people advance knowledge and stewardship of fresh water.
New to EnviroDIY? Start here

Reply To: PAR issue with Mayfly

Home Forums Mayfly Data Logger PAR issue with Mayfly Reply To: PAR issue with Mayfly

Shannon Hicks

    Sorry I didn’t catch this earlier when I looked at your code.  But in line 39, you included the wrong library.  All of the various Mayfly board versions we’ve ever built have the ADS1115 chip on them, so you need to specify the ADS1115 library and no the ADS1015 library (because the 1015 is the lower-resolution version of the chip).  So line 39 if your code should say:  #include <Adafruit_ADS1115.h>