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

PlatformIO error with MS 0.28.01

Home Forums Mayfly Data Logger PlatformIO error with MS 0.28.01

Viewing 6 reply threads
  • Author
    Posts
    • #15214
      Matt Barney
      Participant
        When adding ModSensors 0.28.01 to a new project, I get the error: ValueError: Invalid simple block ‘^0.28.01’. I’ve included the full error text in the attached file. I’m getti
      • #15217
        Anthony Aufdenkampe
        Participant
          I recently had this problem too!

          The solution was to type:

          So, drop the “0”. Everything worked

        • #15218
          Matt Barney
          Participant
            I suspected that was it! Confirmed that the .1 works for me as well.

            I don’t believe 0.28.01 is valid, per semver.org: “Numeric identifiers MUST NOT include leading zeroes.”

            Intere

          • #15220
            Matt Barney
            Participant
            • #15221
              Michael Daniel
              Participant
                Hi all,
                I’m new to all this so still using ArduinoIDE for now.  I’m getting a similar error when trying to change the address for a Meters CDT sensor.  (One of the ones I recently purcha
              • #15224
                Matt Barney
                Participant
                  Hi Nancy,

                  I don’t use the Arduino IDE, but as a workaround, I’d try downloading a previous version of ModularSensors. Delete ModularSensors from your Arduino libraries folder, and grab a

                • #15225
                  Sara Damiano
                  Moderator
                    I’m so sorry about the bad version number!  I’ll put out a new release to fix it!

                    @aufdenkape – The only reason was that I was thinking about the way Windows sorts files alphabetic

                    • #15228
                      Michael Daniel
                      Participant
                        Thanks for the suggestion Matt,

                        It didn’t work very well, here’s the new error message:

                        Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: “Arduino Uno”

                        Sketch us

                        • #15229
                          Shannon Hicks
                          Moderator
                            It shows you’ve got “Arduino Uno” selected as your board type. If you’re using a Mayfly, you need to change that in the “Tools–> Board” menu. Once you’ve done that, also make su
                          • #15234
                            Michael Daniel
                            Participant

                              That worked!  Thanks Shannon!

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