From 9571d988fbbf33a3877347110cd35e1b16d2fea5 Mon Sep 17 00:00:00 2001 From: sessionm21 Date: Tue, 12 May 2020 22:22:42 +0100 Subject: [PATCH] change lora settings to increase range --- collar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collar.cpp b/collar.cpp index a7a3511..3465f0e 100644 --- a/collar.cpp +++ b/collar.cpp @@ -174,7 +174,7 @@ void setup() // define multi-channel sending lora.setChannel(MULTI); // set datarate - lora.setDatarate(SF7BW125); + lora.setDatarate(SF12BW125); // SF7BW125 if(!lora.begin()) { Serial.println("Failed"); @@ -187,7 +187,7 @@ void setup() // For safe operation in 20dBm: your antenna must be 3:1 VWSR or better // and respect the 1% duty cycle. - lora.setPower(1); + lora.setPower(15); // 1 // start 1 second timer TCCR1A = 0;