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

117
Online

10.6k
Users

10.8k
Topics

111.0k
Posts