Fix wireless programming encryption
This commit is contained in:
parent
dd49de0e23
commit
ce3894d302
|
|
@ -53,7 +53,7 @@ void setup(){
|
|||
pinMode(LED, OUTPUT);
|
||||
Serial.begin(SERIAL_BAUD);
|
||||
radio.initialize(FREQUENCY,MYID,NETWORKID);
|
||||
//radio.encrypt(ENCRYPTKEY); //OPTIONAL
|
||||
radio.encrypt(ENCRYPTKEY); //OPTIONAL
|
||||
#ifdef IS_RFM69HW
|
||||
radio.setHighPower(); //only for RFM69HW!
|
||||
#endif
|
||||
|
|
@ -137,4 +137,4 @@ void loop(){
|
|||
digitalWrite(LED, lastPeriod%2);
|
||||
}
|
||||
////////////////////////////////////////////////////////////////////////////////////////////
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue