


MyMessage msg(PRIMARY_CHILD_ID, V_TRIPPED) Change to V_LIGHT if you use S_LIGHT in presentation below #error PRIMARY_CHILD_ID and SECONDARY_CHILD_ID cannot be the same #if (PRIMARY_CHILD_ID = SECONDARY_CHILD_ID)

#error PRIMARY_BUTTON_PIN and BUTTON_PIN2 cannot be the same #if (PRIMARY_BUTTON_PIN = SECONDARY_BUTTON_PIN) #error SECONDARY_BUTTON_PIN must be either 2 or 3 for interrupts to work #error PRIMARY_BUTTON_PIN must be either 2 or 3 for interrupts to work #define SECONDARY_BUTTON4_PIN 6 // Arduino Digital I/O pin for button/reed switch #define PRIMARY_BUTTON3_PIN 4 // Arduino Digital I/O pin for button/reed switch these are the 1ast 2 analog pin chosen #define SECONDARY_BUTTON_PIN 3 // Arduino Digital I/O pin for button/reed switch #define PRIMARY_BUTTON_PIN 2 // Arduino Digital I/O pin for button/reed switch These are the primary and secondary main buttons construct your button pins here for the analog inputs you have createdĬonst int SECONDARY_BUTTON4_PIN_OUT = 7 #define MY_NODE_ID 10 // if this works you can create your own NODES #define MY_RF24_CE_PIN 8 // used when Radio is wired non conventional
