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

Error Compiling for board EnviroDIY Mayfly 1284p

Home Forums Mayfly Data Logger Error Compiling for board EnviroDIY Mayfly 1284p

Viewing 3 reply threads
  • Author
    Posts
    • #18762
      JK_WCCD
      Participant

        Hello,

        I am trying to upload the sketch through the following instructions (ModularSensors/examples/DRWI_NoCellular at master · EnviroDIY/ModularSensors · GitHub)

        I followed all the directions but when I try to verify or upload the sketch through Arduino onto our Mayfly, I get the following error message –
        <p style=”text-align: center;”>exit status 1
        Error compiling for board EnviroDIY Mayfly 1284p.</p>
        I am a complete beginner to this and was wondering if I could get any guidance on solving this issue.

        Thank you.

      • #18763
        Shannon Hicks
        Moderator

          Have you installed all the supporting libraries into your Arduino/libraries folder?  There should be either 32 folders worth of libraries, or 47, depending on whether you downloaded all the recommended EnviroDIY libraries, or just the ModularSensors dependencies.

        • #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?

          • #18765
            Shannon Hicks
            Moderator

              The unzipped folders go into your MyDocumenrs/Arduino/libraries folder.  Make sure they aren’t nested within a second ‘libraries’ folder within the first one.  What version of the IDE are you using?

              A good way to check that your libraries are installed correctly is to look at the built-in examples.  In the ARduino IDE, go to the File dropdown menu, then select examples.  You should see the basic Arduino example, then some more complex ones, but keep scrolling to the bottom and you should see lots of other ones like Adafruit and ModularSensors and SDI12.  The sketch you’re trying to use should be included under the ModularSensors list.  If you don’t see it, then your libraries aren’t installed correctly.

              If your libraries are correct, there should be more information in the error window that will tell you what is causing the problem.  If you still get the error, copy that full error message into your post.

          Viewing 3 reply threads
          • You must be logged in to reply to this topic.