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

JK_WCCD

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Error Compiling for board EnviroDIY Mayfly 1284p #18841
    JK_WCCD
    Participant

      I figured out the issue but I am now facing another error. I keep getting the following error message –

      C:\Users\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src\sensors\AlphasenseCO2.cpp:17:10: fatal error: Adafruit_ADS1X15.h: No such file or directory
      #include <Adafruit_ADS1X15.h>
      ^~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      exit status 1
      Error compiling for board EnviroDIY Mayfly 1284p.

       

      Any help would be appreciated. Thank you.

       

      in reply to: Error Compiling for board EnviroDIY Mayfly 1284p #18773
      JK_WCCD
      Participant

        I have modified the sketch by replacing the UUID list in the original NoCellular sketch with my UUID list from Monitor My Watershed.

        in reply to: Error Compiling for board EnviroDIY Mayfly 1284p #18766
        JK_WCCD
        Participant

          I am using Arduino 1.8.19

          I checked the libraries using your method and I do see all the examples and the sketches under the ModularSensors list.

          I now ran into another problem which I believe is related to the DS3231 clock. I was able to set the time correctly using the directions from this page – 4. Preparing the Mayfly Data Logger – EnviroDIY

          However, when I tried to upload the sketch for DRWI_NoCellular, I got the following error window:

           

          Arduino: 1.8.19 (Windows 10), Board: “EnviroDIY Mayfly 1284p”

          C:\Users\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src\sensors\MaximDS3231.cpp: In member function ‘virtual bool MaximDS3231::startSingleMeasurement()’:
          C:\Users\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src\sensors\MaximDS3231.cpp:46:33: error: no matching function for call to ‘Sodaq_DS3231::convertTemperature(bool)’
          rtc.convertTemperature(false);
          ^
          In file included from

          C:\Users\Documents\Arduino\libraries\EnviroDIY_ModularSensors\src\sensors\MaximDS3231.cpp:10:0:
          C:\Users\Documents\Arduino\libraries\Sodaq_DS3231\src/Sodaq_DS3231.h:73:10: note: candidate: void Sodaq_DS3231::convertTemperature()
          void convertTemperature();
          ^~~~~~~~~~~~~~~~~~
          C:\Users\Documents\Arduino\libraries\Sodaq_DS3231\src/Sodaq_DS3231.h:73:10: note: candidate expects 0 arguments, 1 provided
          exit status 1
          Error compiling for board EnviroDIY Mayfly 1284p.

          This report would have more information with
          “Show verbose output during compilation”
          option enabled in File -> Preferences.

          in reply to: Error Compiling for board EnviroDIY Mayfly 1284p #18764
          JK_WCCD
          Participant

            Yes, I believe I have. It looks like I downloaded all recommended EnviroDIY libraries (47). Do I need to do anything with them once I have them in my library folder? Do I need to install all of them in Arduino somehow?

          Viewing 4 posts - 1 through 4 (of 4 total)