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. Bug Reports
  3. MySensor.h error

MySensor.h error

Scheduled Pinned Locked Moved Bug Reports
8 Posts 5 Posters 6.7k Views 4 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.
  • nicorodriN Offline
    nicorodriN Offline
    nicorodri
    wrote on last edited by
    #1

    Hi Everybody,

    What's wrong with this library? I'am trying everything (replacing the IDE, the library, type of board, etc) without success.
    Could any one help me?
    Thank you very much!
    Nicolas

    **Arduino:1.6.9 (Windows 10), Tarjeta:"Arduino/Genuino Uno"

    C:\Users\Nicolás Rodríguez To\Documents\Arduino\IrrigationController\IrrigationController.ino:88:22: fatal error: MySensor.h: No such file or directory

    compilation terminated.

    exit status 1
    Error compilación en tarjeta Arduino/Genuino Uno.

    Este reporte podría tener más información con
    "Mostrar salida detallada durante la compilación"
    opción habilitada en Archivo -> Preferencias.**

    TheoLT 1 Reply Last reply
    0
    • fetsF Offline
      fetsF Offline
      fets
      wrote on last edited by
      #2

      @nicorodri did you install librairies as mentionned here in section "Installing the sensor libraries"

      1 Reply Last reply
      0
      • nicorodriN nicorodri

        Hi Everybody,

        What's wrong with this library? I'am trying everything (replacing the IDE, the library, type of board, etc) without success.
        Could any one help me?
        Thank you very much!
        Nicolas

        **Arduino:1.6.9 (Windows 10), Tarjeta:"Arduino/Genuino Uno"

        C:\Users\Nicolás Rodríguez To\Documents\Arduino\IrrigationController\IrrigationController.ino:88:22: fatal error: MySensor.h: No such file or directory

        compilation terminated.

        exit status 1
        Error compilación en tarjeta Arduino/Genuino Uno.

        Este reporte podría tener más información con
        "Mostrar salida detallada durante la compilación"
        opción habilitada en Archivo -> Preferencias.**

        TheoLT Offline
        TheoLT Offline
        TheoL
        Contest Winner
        wrote on last edited by
        #3

        @nicorodri I ran into the same problem today, when I tried to compile the sketch in the API documentation. There might be a bug in that sketch. It's saying:

        #include <MySensor.h>
        

        Which should be:

        #include <MySensors.h>
        

        At least it got it working for me. Maybe @hek is able to verify the bug and adjust the example sketch stated here https://www.mysensors.org/download/sensor_api_20

        1 Reply Last reply
        0
        • tbowmoT Offline
          tbowmoT Offline
          tbowmo
          Admin
          wrote on last edited by tbowmo
          #4

          the header file is renamed to MySensors.h now, to comply with the library name (which is MySensors)

          I believe that the examples on github (here and here) should be changed to use the new file name..

          TheoLT 1 Reply Last reply
          1
          • tbowmoT tbowmo

            the header file is renamed to MySensors.h now, to comply with the library name (which is MySensors)

            I believe that the examples on github (here and here) should be changed to use the new file name..

            TheoLT Offline
            TheoLT Offline
            TheoL
            Contest Winner
            wrote on last edited by
            #5

            @tbowmo glad that it's confirmed. I was beginning to think I'm getting crazy ;-)

            1 Reply Last reply
            0
            • hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by hek
              #6

              @theol, Thanks, I'll update the main site accordingly.

              Edit: done

              TheoLT 1 Reply Last reply
              0
              • hekH hek

                @theol, Thanks, I'll update the main site accordingly.

                Edit: done

                TheoLT Offline
                TheoLT Offline
                TheoL
                Contest Winner
                wrote on last edited by
                #7

                @hek Thank you. Does this name change mean, that I can keep 1.5 and 2.0 beside eachother? Would be great and handy for the next couple of months/weeks

                1 Reply Last reply
                0
                • hekH Offline
                  hekH Offline
                  hek
                  Admin
                  wrote on last edited by
                  #8

                  No, wouldn't recommend it. Besides the folder name was MySensors in 1.5.4 as well.

                  https://github.com/mysensors/MySensors/tree/1.5.4/libraries/MySensors

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


                  18

                  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