RFM95 LoRa Demo: Correct frequency
This commit is contained in:
parent
531900300a
commit
3da85fba88
2 changed files with 5 additions and 4 deletions
|
@ -32,9 +32,10 @@ void setup()
|
||||||
}
|
}
|
||||||
Serial.println("rf95.init() ok");
|
Serial.println("rf95.init() ok");
|
||||||
|
|
||||||
// Defaults after init are 434.0MHz, 13dBm, Bw = 125 kHz, Cr = 4/5, Sf = 128chips/symbol, CRC on
|
// Defaults after init are 434.0MHz, 13dBm, Bw = 125 kHz,
|
||||||
|
// Cr = 4/5, Sf = 128chips/symbol, CRC on
|
||||||
|
|
||||||
rf95.setFrequency(868.0);
|
rf95.setFrequency(868.1);
|
||||||
|
|
||||||
delay(100);
|
delay(100);
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@ void setup()
|
||||||
// Defaults after init are 434.0MHz, 13dBm, Bw = 125 kHz, Cr = 4/5, Sf = 128chips/symbol, CRC on
|
// Defaults after init are 434.0MHz, 13dBm, Bw = 125 kHz, Cr = 4/5, Sf = 128chips/symbol, CRC on
|
||||||
|
|
||||||
|
|
||||||
rf95.setFrequency(868.0);
|
rf95.setFrequency(868.1);
|
||||||
//rf95.setTxPower(10, true);
|
//rf95.setTxPower(10, true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -83,4 +83,4 @@ void loop()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue