diff --git a/examples/SX126x/SX126x_Settings/SX126x_Settings.ino b/examples/SX126x/SX126x_Settings/SX126x_Settings.ino index 7777c75d..530c49ab 100644 --- a/examples/SX126x/SX126x_Settings/SX126x_Settings.ino +++ b/examples/SX126x/SX126x_Settings/SX126x_Settings.ino @@ -74,7 +74,7 @@ void setup() { // sync word: 0x34 (public network/LoRaWAN) // output power: 2 dBm // preamble length: 20 symbols - state = radio2.begin(915.0, 500.0, 6, 5, 0x34, 20); + state = radio2.begin(915.0, 500.0, 6, 5, 0x34, 2, 20); if (state == RADIOLIB_ERR_NONE) { Serial.println(F("success!")); } else { diff --git a/examples/SX128x/SX128x_Settings/SX128x_Settings.ino b/examples/SX128x/SX128x_Settings/SX128x_Settings.ino index 36b02da1..1bd5f8fc 100644 --- a/examples/SX128x/SX128x_Settings/SX128x_Settings.ino +++ b/examples/SX128x/SX128x_Settings/SX128x_Settings.ino @@ -65,9 +65,10 @@ void setup() { // bandwidth: 1625.0 kHz // spreading factor: 7 // coding rate: 5 + // sync word: 0x12 (private network) // output power: 2 dBm // preamble length: 20 symbols - state = radio2.begin(2450.0, 1625.0, 7, 5, 2, 20); + state = radio2.begin(2450.0, 1625.0, 7, 5, 0x12, 2, 20); if (state == RADIOLIB_ERR_NONE) { Serial.println(F("success!")); } else {