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 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • 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 2 posts - 1 through 2 (of 2 total)