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. Codebender examples don't match Arduino library examples?

Codebender examples don't match Arduino library examples?

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 919 Views 1 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.
  • C Offline
    C Offline
    chuckconnors
    wrote on last edited by
    #1

    Hey guys.. I'm having a good bit of confusion. I'm trying to get a combination temperature/humidity/motion sensor node going and am running into all kinds of road blocks. I've downloaded the Arduino library and am able to compile and upload example files without problems.

    I do not see the humidity/temp sketch listed in the examples (perhaps it's named in a different way?). I tried copying the example from the build page and it won't compile. I see that it tries to include like this

    #include <MySensor.h>  
    

    where the example sketches include like this:

    #include <MySensors.h>  
    

    I'm not a programmer but I have built some of these sensors successfully in the past and would like to add a few more sensors. Can someone tell me what I'm doing wrong and also possibly link to a working example of the humidity temp node?

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

      Codebender is outdated, as they only support arduino 1.0, which isn't compatible with mysensors 2.0. So latest mysensors lib available in codebender is 1.5.x

      C 1 Reply Last reply
      0
      • tbowmoT tbowmo

        Codebender is outdated, as they only support arduino 1.0, which isn't compatible with mysensors 2.0. So latest mysensors lib available in codebender is 1.5.x

        C Offline
        C Offline
        chuckconnors
        wrote on last edited by
        #3

        @tbowmo Thanks for the reply. I'm still a newbie with all this. I think that I have 2.0 installed but most of the code examples I see or have used in the past are not 2.0 . Can you tell me how to install the older library and get rid of the newer one?

        Basically I'd just like to be able to upload the code I've used before to the new nodes.

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


        9

        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