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

Library issues

Home Forums Mayfly Data Logger Library issues

Viewing 2 reply threads
  • Author
    Posts
    • #19756
      jsterling
      Participant

        I’m working on building a sensor station using a Mayfly Data Logger v. 1.1, EnviroDIY cellular bee, a Hydros 21 CTD sensor. I am using the sketch EnviroDIY_Monitoring_Kit.ino and the Modular Sensor Libraries v0.37.0. I am having a difficult time getting my sketch to compile.  I am receiving the following error that it cant find MonitorMyWatershedPublisher.h. Am I using the correct libraries for this sketch? I’ve attached a photo of my error. Thanks!

        fatal error: publishers/MonitorMyWatershedPublisher.h: No such file or directory
        #include <publishers/MonitorMyWatershedPublisher.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        compilation terminated.
        exit status 1
        publishers/MonitorMyWatershedPublisher.h: No such file or directory

        Attachments:
      • #19758
        jsterling
        Participant

           

        • #19765
          Sara Damiano
          Moderator

            Ah. That example is written for the current “master” branch of the library, not the latest polished release.  I’m way overdue for a new release, but there are some bugs I still need to fix.

            Try starting from this example instead, which is matched to library release 0.37.0:  https://github.com/EnviroDIY/ModularSensors/blob/v0.37.0/examples/DRWI_Mayfly1/DRWI_Mayfly1.ino

            **DO NOT** use the current master branch as of 8/4/2026. There’s definitely a bug in for the SIM7080/EnviroDIY LTE module.  Usually I keep the master branch functional and try to keep not-actually-working stuff in other branches, but as of today master is broken.

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