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

22
Online

11.2k
Users

11.1k
Topics

112.5k
Posts