Home › Forums › Mayfly Data Logger › PAR issue with Mayfly › Reply To: PAR issue with Mayfly
2022-10-14 at 6:19 PM
#17401
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
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>