From 3da85fba880c1f40cffb91b438dedef243577ba9 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 8 Sep 2018 21:37:15 +0100 Subject: [PATCH] RFM95 LoRa Demo: Correct frequency --- Examples/UNO_rf95_client/UNO_rf95_client.ino | 5 +++-- Examples/UNO_rf95_server/UNO_rf95_server.ino | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Examples/UNO_rf95_client/UNO_rf95_client.ino b/Examples/UNO_rf95_client/UNO_rf95_client.ino index 0d3bc79..0072352 100644 --- a/Examples/UNO_rf95_client/UNO_rf95_client.ino +++ b/Examples/UNO_rf95_client/UNO_rf95_client.ino @@ -32,9 +32,10 @@ void setup() } 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); } diff --git a/Examples/UNO_rf95_server/UNO_rf95_server.ino b/Examples/UNO_rf95_server/UNO_rf95_server.ino index cb76834..09bb5ac 100644 --- a/Examples/UNO_rf95_server/UNO_rf95_server.ino +++ b/Examples/UNO_rf95_server/UNO_rf95_server.ino @@ -39,7 +39,7 @@ void setup() // 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); } @@ -83,4 +83,4 @@ void loop() } } - +