|
|
@ -241,6 +241,8 @@ void setup() { |
|
|
|
// LoRa.setSpreadingFactor(9);
|
|
|
|
// LoRa.setSignalBandwidth(62.5E3);
|
|
|
|
// LoRa.setCodingRate4(8);
|
|
|
|
if(tx_mode) |
|
|
|
LoRa.setTxPower(20); |
|
|
|
|
|
|
|
/* Use 1st timer of 4 */ |
|
|
|
/* 1 tick take 1/(80MHZ/80) = 1us so we set divider 80 and count up */ |
|
|
@ -326,8 +328,8 @@ void loop() { |
|
|
|
display.print("Packet/s:"); |
|
|
|
display.print(lora_packets_per_second); |
|
|
|
display.setCursor(0, 40); |
|
|
|
display.print("Delayed:"); |
|
|
|
display.print(delayed); |
|
|
|
display.print("Freq:"); |
|
|
|
display.print(frequency); |
|
|
|
display.setCursor(0, 56); |
|
|
|
display.print("Up:"); |
|
|
|
display.print(uptime); |
|
|
|