mirror of
https://github.com/lora-aprs/LoRa_APRS_Tracker.git
synced 2025-12-06 07:12:15 +01:00
Update LoRa_APRS_Tracker.cpp
This commit is contained in:
parent
27556ecc24
commit
062873e699
|
|
@ -359,19 +359,18 @@ void loop() {
|
||||||
"firmware: https://github.com/lora-aprs/TTGO-T-Beam_GPS-reset");
|
"firmware: https://github.com/lora-aprs/TTGO-T-Beam_GPS-reset");
|
||||||
show_display("No GPS frames detected!", "Try to reset the GPS Chip", "https://github.com/lora-aprs/TTGO-T-Beam_GPS-reset", 2000);
|
show_display("No GPS frames detected!", "Try to reset the GPS Chip", "https://github.com/lora-aprs/TTGO-T-Beam_GPS-reset", 2000);
|
||||||
}
|
}
|
||||||
|
|
||||||
//RX
|
// RX
|
||||||
int packetSize = LoRa.parsePacket();
|
int packetSize = LoRa.parsePacket();
|
||||||
|
|
||||||
if (packetSize) {
|
if (packetSize) {
|
||||||
String rxdata;
|
String rxdata;
|
||||||
|
|
||||||
while (LoRa.available()) { // read packet
|
while (LoRa.available()) { // read packet
|
||||||
rxdata+=(char)LoRa.read();
|
rxdata += (char)LoRa.read();
|
||||||
}
|
}
|
||||||
|
rxdata += "' with RSSI ";
|
||||||
rxdata+="' with RSSI ";
|
rxdata += (LoRa.packetRssi());
|
||||||
rxdata+=(LoRa.packetRssi());
|
|
||||||
show_display("<< RX RX >>", rxdata);
|
show_display("<< RX RX >>", rxdata);
|
||||||
delay(4000);
|
delay(4000);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue