Update radio defines in examples (#901)
This commit is contained in:
@@ -35,7 +35,9 @@
|
||||
|
||||
// Enable and select radio type attached
|
||||
#define MY_RADIO_NRF24
|
||||
//#define MY_RADIO_NRF5_ESB
|
||||
//#define MY_RADIO_RFM69
|
||||
//#define MY_RADIO_RFM95
|
||||
|
||||
#include <MySensors.h>
|
||||
|
||||
@@ -70,12 +72,8 @@ MyMessage msg2(SECONDARY_CHILD_ID, V_TRIPPED);
|
||||
void setup()
|
||||
{
|
||||
// Setup the buttons
|
||||
pinMode(PRIMARY_BUTTON_PIN, INPUT);
|
||||
pinMode(SECONDARY_BUTTON_PIN, INPUT);
|
||||
|
||||
// Activate internal pull-ups
|
||||
digitalWrite(PRIMARY_BUTTON_PIN, HIGH);
|
||||
digitalWrite(SECONDARY_BUTTON_PIN, HIGH);
|
||||
pinMode(PRIMARY_BUTTON_PIN, INPUT_PULLUP);
|
||||
pinMode(SECONDARY_BUTTON_PIN, INPUT_PULLUP);
|
||||
}
|
||||
|
||||
void presentation()
|
||||
|
||||
Reference in New Issue
Block a user