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. General Discussion
  3. compiling the code for sensebender micro

compiling the code for sensebender micro

Scheduled Pinned Locked Moved General Discussion
11 Posts 2 Posters 2.2k Views 2 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.
  • mhkoM Offline
    mhkoM Offline
    mhko
    wrote on last edited by
    #1

    hi
    I am getting no were with this sensebender micro.
    i get this message all the time, i have read and searched all i can find, but I do not get the clue i need to get the issue solved.
    0_1496772577805_2.png

    I get that it has to do with the upgrade to 2.x.x, but i do not get how to solve the issue.

    can somebody tell me the missing links?

    thanks in advance

    tbowmoT 1 Reply Last reply
    0
    • mhkoM mhko

      hi
      I am getting no were with this sensebender micro.
      i get this message all the time, i have read and searched all i can find, but I do not get the clue i need to get the issue solved.
      0_1496772577805_2.png

      I get that it has to do with the upgrade to 2.x.x, but i do not get how to solve the issue.

      can somebody tell me the missing links?

      thanks in advance

      tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by
      #2

      @mhko

      You need to install the driver library for Si7021, it is located in the MySensorsArduinoExamples repository

      1 Reply Last reply
      0
      • mhkoM Offline
        mhkoM Offline
        mhko
        wrote on last edited by
        #3

        thank you.
        it maybe me that is a bit thick, but how do i do that?

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

          @mhko

          Copy the folder with Si7021 from the above link, into your library folder under Arduino.

          1 Reply Last reply
          0
          • mhkoM Offline
            mhkoM Offline
            mhko
            wrote on last edited by
            #5

            is that the same folder as in the picture?
            because i have tried only the si7021.h file, a folder with everything from you link, and i stile come with the same error.

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

              copy the directories from the library folder in the above link, into libraries on your local machine

              so that the folder structure will be:

              <user-or-wherever-things-are-located-on-your-computer-system>\Arduino\libraries\Si7021\Si7021.h/cpp

              1 Reply Last reply
              0
              • mhkoM Offline
                mhkoM Offline
                mhko
                wrote on last edited by
                #7

                thanks a lot.
                i could just not see that link.
                now it is compiling, but missing several other things on it way.
                but now i know the routine.

                1 Reply Last reply
                0
                • mhkoM Offline
                  mhkoM Offline
                  mhko
                  wrote on last edited by
                  #8

                  today i get this error list:
                  Arduino: 1.8.3 (Windows 7), Board: "Sensebender Micro, Atmega328 8Mhz"

                  In file included from C:\Users\mko\Documents\Arduino - sketch\Sensebender 1.4\SensebenderMicro-master\SensebenderMicro-master\Arduino\SensebenderMicro\SensebenderMicro.ino:61:0:

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:23:3: error: stray '\302' in program

                  <title>MySensorsArduinoExamples/SI7021.h at master · mysensors/MySensorsArduinoExamples · GitHub</title>

                  ^

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:23:3: error: stray '\267' in program

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:23:3: error: stray '\302' in program

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:23:3: error: stray '\267' in program

                  In file included from C:\Users\mko\Documents\Arduino - sketch\Sensebender 1.4\SensebenderMicro-master\SensebenderMicro-master\Arduino\SensebenderMicro\SensebenderMicro.ino:61:0:

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:133:3: error: missing terminating ' character

                  <!-- '"` --><!-- </textarea></xmp> --></option></form><form accept-charset="UTF-8" action="/mysensors/MySensorsArduinoExamples/search" class="js-site-search-form" data-scoped-search-url="/mysensors/MySensorsArduinoExamples/search" data-unscoped-search-url="/search" method="get"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="✓" /></div>

                  ^

                  In file included from C:\Users\mko\Documents\Arduino - sketch\Sensebender 1.4\SensebenderMicro-master\SensebenderMicro-master\Arduino\SensebenderMicro\SensebenderMicro.ino:61:0:

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:480:69: error: stray '#' in program

                       <td id="LC6" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">ifndef</span> si7021_h</td>
                  
                                                                                   ^
                  

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:484:69: error: stray '#' in program

                       <td id="LC7" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">define</span> <span class="pl-en">si7021_h</span></td>
                  
                                                                                   ^
                  

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:493:69: error: stray '#' in program

                       <td id="LC9" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">if</span> (ARDUINO &gt;= 100)</td>
                  
                                                                                   ^
                  

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:497:71: error: stray '#' in program

                       <td id="LC10" class="blob-code blob-code-inner js-file-line"> #<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>Arduino.h<span class="pl-pds">&quot;</span></span></td>
                  
                                                                                     ^
                  

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:501:70: error: stray '#' in program

                       <td id="LC11" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">else</span></td>
                  
                                                                                    ^
                  

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:505:71: error: stray '#' in program

                       <td id="LC12" class="blob-code blob-code-inner js-file-line"> #<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>WProgram.h<span class="pl-pds">&quot;</span></span></td>
                  
                                                                                     ^
                  

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:509:70: error: stray '#' in program

                       <td id="LC13" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">endif</span></td>
                  
                                                                                    ^
                  

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:518:70: error: stray '#' in program

                       <td id="LC15" class="blob-code blob-code-inner js-file-line">#<span class="pl-k">ifdef</span> __AVR_ATtiny85__</td>
                  
                                                                                    ^
                  

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:522:71: error: stray '#' in program

                       <td id="LC16" class="blob-code blob-code-inner js-file-line"> #<span class="pl-k">include</span> <span class="pl-s"><span class="pl-pds">&quot;</span>TinyWireM.h<span class="pl-pds">&quot;</span></span></td>
                  
                                                                                     ^
                  

                  C:\Users\mko\Documents\libraries\SI7021/SI7021.h:526:71: error: stray '#' in program

                       <td id="LC17" class="blob-code blob-code-inner js-file-line"> #<span class="pl-k">define</span> <span class="pl-en">Wire</span> TinyWireM</td>
                  
                                                                                     ^
                  

                  it goes on and on.

                  any one knows why?

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

                    looks like you put a html document in there, instead of just the plain text file?

                    1 Reply Last reply
                    0
                    • mhkoM Offline
                      mhkoM Offline
                      mhko
                      wrote on last edited by
                      #10

                      i was because i saved the files from you link via my browser.
                      now it is fixed.

                      thanks again for your time and help.

                      tbowmoT 1 Reply Last reply
                      0
                      • mhkoM mhko

                        i was because i saved the files from you link via my browser.
                        now it is fixed.

                        thanks again for your time and help.

                        tbowmoT Offline
                        tbowmoT Offline
                        tbowmo
                        Admin
                        wrote on last edited by
                        #11

                        @mhko

                        No problem, glad to be of assistance :)

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


                        14

                        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