pull/15/head
sh123 2021-02-13 09:41:41 +02:00
rodzic aaa64b39bd
commit a4c0adb78e
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -34,7 +34,7 @@ void initializeConfig(LoraPrs::Config &cfg) {
cfg.LoraPinSs = CFG_LORA_PIN_SS;
cfg.LoraPinRst = CFG_LORA_PIN_RST;
cfg.LoraPinDio0 = CFG_LORA_PIN_DIO0;
cfg.LoraUseIsr = true;
cfg.LoraUseIsr = true; // set to false for polling instead of interrupts
// aprs configuration
cfg.AprsHost = "rotate.aprs2.net";

Wyświetl plik

@ -20,7 +20,7 @@ struct Config
byte LoraPinSs; // lora ss pin
byte LoraPinRst; // lora rst pin
byte LoraPinDio0; // lora dio0 pin
bool LoraUseIsr; // true to use interrupts
bool LoraUseIsr; // true to use interrupts, false for polling, e.g. if Dio0 is not connected
int AprsPort; // aprs server port, 14580
String AprsHost; // aprs server hostname, rotate.aprs2.net