Assigning NODE ID in VER 1.6b



  • How can I assign the node ID for my sensor in ver1.6 development

    thanks



  • Found this issue, looks like it NEED TO BE PRIOR to the #include <MySensor.h>

    #define MY_NODE_ID 7                         // id of the node
    //#define MY_PARENT_NODE_ID 1    
    #define CHILD_ID 3                              // Id of the sensor child
    
    #include <SPI.h>
    #include <MySensor.h>  
    

Log in to reply
 

Suggested Topics

  • 1
  • 1
  • 3
  • 3
  • 3
  • 6

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts