How to set NodeID in 2.1.1
I have a mysensors network since a while and running 1.5 so now have started to upgrade to 2.1.1.
In the sketches - how can I set the NodeID (not ChildNodeID)?
zboblamont last edited by
@jocke4u #define MY_NODE_ID 1 or whatever...
Thanks, getting warnings that MY_NODE_ID is already declared
#define MY_NODE_ID AUTO
Is it a way to override that in a proper way?
#ifndef MY_NODE_ID #define MY_NODE_ID 5 // my own ID is 5 #endif
Seems to work BUT is it correct way to do it?
#define MY_NODE_ID 5
Before the line
Should work fine
Thanks - works just fine