set max TX power

This commit is contained in:
Peter Buchegger 2020-04-08 13:03:11 +02:00
parent 90bdeb2920
commit 148d7ad8d5

View file

@ -114,6 +114,8 @@ void setup_lora()
LoRa.setSignalBandwidth(125E3); LoRa.setSignalBandwidth(125E3);
LoRa.setCodingRate4(5); LoRa.setCodingRate4(5);
LoRa.enableCrc(); LoRa.enableCrc();
LoRa.setTxPower(20);
Serial.println("[INFO] LoRa init done!"); Serial.println("[INFO] LoRa init done!");
show_display("INFO", "LoRa init done!", 2000); show_display("INFO", "LoRa init done!", 2000);
} }