[SX127x] Fixed invalid sync word value in example

This commit is contained in:
jgromes 2023-03-05 14:57:20 +01:00
parent 50574d6676
commit 25a5f7443c

View file

@ -68,11 +68,11 @@ void setup() {
// bandwidth: 500.0 kHz
// spreading factor: 6
// coding rate: 5
// sync word: 0x14
// sync word: 0x34
// output power: 2 dBm
// preamble length: 20 symbols
// amplifier gain: 1 (maximum gain)
state = radio2.begin(915.0, 500.0, 6, 5, 0x14, 2, 20, 1);
state = radio2.begin(915.0, 500.0, 6, 5, 0x34, 2, 20, 1);
if (state == RADIOLIB_ERR_NONE) {
Serial.println(F("success!"));
} else {