How to force ID of a sensor?
-
hello,
I need to force the ID of a node (API 2.0).
How can i do?
Regards
-
@ej3359 - #define MY_NODE_ID XX where XX is your ID.
This needs to be done before:#include <SPI.h> #include <MySensors.h>
Like:
// Enable debug prints to serial monitor #define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_NRF24 //#define MY_RADIO_RFM69 #define MY_NODE_ID 19 #include <SPI.h> #include <MySensors.h>
-
Thank's!