Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Newbie trying to compile a sketch/installing mysensors library

Newbie trying to compile a sketch/installing mysensors library

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 1.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • blebbensB Offline
    blebbensB Offline
    blebbens
    wrote on last edited by
    #1

    Hello,

    I´m trying to build my first mqtt-Gateway using an arduino nano V3 clone and a ethernet W5100 shield.

    Downloaded the arduino-master.zip and unzipped it into the sketchbook directory. But, arduino IDE tells me on startup that it´s not a valid library.

    Afterwards I tried to use codebender on chrome. By clicking the run on arduino button, codebender tells me the same like the Arduino IDE itself:
    "(sketch file) MQTTGateway.ino:77:10: fatal error: 'DigitalIO.h' file not found
    #include <DigitalIO.h>
    ^
    1 error generated."

    Little help would be great...

    mfalkviddM 1 Reply Last reply
    0
    • TheoLT Offline
      TheoLT Offline
      TheoL
      Contest Winner
      wrote on last edited by
      #2

      How did you install the mySensors library?

      1 Reply Last reply
      0
      • blebbensB blebbens

        Hello,

        I´m trying to build my first mqtt-Gateway using an arduino nano V3 clone and a ethernet W5100 shield.

        Downloaded the arduino-master.zip and unzipped it into the sketchbook directory. But, arduino IDE tells me on startup that it´s not a valid library.

        Afterwards I tried to use codebender on chrome. By clicking the run on arduino button, codebender tells me the same like the Arduino IDE itself:
        "(sketch file) MQTTGateway.ino:77:10: fatal error: 'DigitalIO.h' file not found
        #include <DigitalIO.h>
        ^
        1 error generated."

        Little help would be great...

        mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #3

        @blebbens Instructions are available at https://www.mysensors.org/about/arduino#installing-the-sensor-libraries (not sure if you've already used them)

        1 Reply Last reply
        0
        • blebbensB Offline
          blebbensB Offline
          blebbens
          wrote on last edited by
          #4

          Think, the description is a bit confusing. Watched the video and copied Arduino-master.zip´s directory libraries to /user/documents/arduino/libraries and c:\program files(x86)\arduino\libraries.

          Now on compiling I get the following (german) message:

          WARNUNG: Kategorie '' in der Bibliothek UIPEthernet ist ungültig und wird auf 'Uncategorized' festgelegt
          WARNUNG: Kategorie '' in der Bibliothek UIPEthernet ist ungültig und wird auf 'Uncategorized' festgelegt
          Mehrere Bibliotheken wurden für "MsTimer2.h" gefunden
          Benutzt: C:\Users\R\Documents\Arduino\libraries\MsTimer2
          Nicht benutzt: F:\Program Files (x86)\Arduino\libraries\MsTimer2
          Mehrere Bibliotheken wurden für "DigitalIO.h" gefunden
          Benutzt: C:\Users\R\Documents\Arduino\libraries\DigitalIO
          Nicht benutzt: F:\Program Files (x86)\Arduino\libraries\DigitalIO
          Mehrere Bibliotheken wurden für "MySigningNone.h" gefunden
          Benutzt: C:\Users\R\Documents\Arduino\libraries\MySensors (used)
          Nicht benutzt: F:\Program Files (x86)\Arduino\libraries\MySensors (not used)
          Nicht benutzt: F:\Program Files (x86)\Arduino\libraries\MySensors
          Nicht benutzt: F:\Program Files (x86)\Arduino\libraries\MySensors
          Nicht benutzt: F:\Program Files (x86)\Arduino\libraries\MySensors

          1 Reply Last reply
          0
          • blebbensB Offline
            blebbensB Offline
            blebbens
            wrote on last edited by
            #5

            I copied the libraries to 2 directories, so the IDE finds 2 versions of the same library.

            But, the first message seems to be the problem:
            WARNING: category '' in library UIPEthernet not valid and will be categorized as 'Uncategorized'
            WARNUNG: Kategorie '' in der Bibliothek UIPEthernet ist ungültig und wird auf 'Uncategorized' festgelegt

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            11

            Online

            11.7k

            Users

            11.2k

            Topics

            113.1k

            Posts


            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular