beta2
This commit is contained in:
parent
d3d25cc3f2
commit
b7278718ee
|
|
@ -67,10 +67,12 @@ void setup() {
|
||||||
APRS_connect();
|
APRS_connect();
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
APRS_IS_READ();
|
APRS_IS_READ();
|
||||||
|
|
||||||
uint32_t lastTx = millis() - lastTxTime;
|
|
||||||
|
|
||||||
|
/*uint32_t lastTx = millis() - lastTxTime;
|
||||||
if (lastTx >= BeaconInterval) {
|
if (lastTx >= BeaconInterval) {
|
||||||
beacon_update = true;
|
beacon_update = true;
|
||||||
}
|
}
|
||||||
|
|
@ -80,5 +82,5 @@ void loop() {
|
||||||
espClient.write(WeatherReportBeaconPacket.c_str());
|
espClient.write(WeatherReportBeaconPacket.c_str());
|
||||||
lastTxTime = millis();
|
lastTxTime = millis();
|
||||||
beacon_update = false;
|
beacon_update = false;
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
@ -14,7 +14,8 @@ const String AprsServer = "radioaficion.pro"; // write the add
|
||||||
const int AprsServerPort = 14580; // 14579 port is allready filtered so use 14580
|
const int AprsServerPort = 14580; // 14579 port is allready filtered so use 14580
|
||||||
const String AprsSoftwareName = "ESP32_TEST";
|
const String AprsSoftwareName = "ESP32_TEST";
|
||||||
const String AprsSoftwareVersion = "0.1.0";
|
const String AprsSoftwareVersion = "0.1.0";
|
||||||
const String AprsFilter = "t/poms/CD2RXU-10/50";
|
const int ReportingDistance = 50;
|
||||||
|
const String AprsFilter = "t/poms/CD2RXU-10/50"; //cambio a : "t/poms/" + WeatherReportCallsign + "/" + String(ReportingDistance)
|
||||||
|
|
||||||
const String WeatherReportComment = "LoRa APRS Weather Report https://github.com/richonguzman/ESP32_APRS_Weather_Report";
|
const String WeatherReportComment = "LoRa APRS Weather Report https://github.com/richonguzman/ESP32_APRS_Weather_Report";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,31 +0,0 @@
|
||||||
#ifndef PINS_CONFIG_H_
|
|
||||||
#define PINS_CONFIG_H_
|
|
||||||
|
|
||||||
#include <Arduino.h>
|
|
||||||
|
|
||||||
|
|
||||||
#define LORA_SCK 5
|
|
||||||
#define LORA_MISO 19
|
|
||||||
#define LORA_MOSI 27
|
|
||||||
#define LORA_CS 18
|
|
||||||
#define LORA_RST 14
|
|
||||||
#define LORA_IRQ 26
|
|
||||||
|
|
||||||
/*
|
|
||||||
SX1278-------------------> ESP32
|
|
||||||
GND GND
|
|
||||||
DIO1 -
|
|
||||||
DIO2 -
|
|
||||||
DIO3 -
|
|
||||||
VCC 3.3V
|
|
||||||
MISO 19
|
|
||||||
MOSI 27
|
|
||||||
SCLK 5
|
|
||||||
NSS 18
|
|
||||||
DIO0 26
|
|
||||||
REST 14
|
|
||||||
GND -
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
Loading…
Reference in New Issue