mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-03-17 02:34:47 +01:00
0.0.1
This commit is contained in:
parent
be242cb399
commit
3617da4e8a
|
|
@ -1,17 +1,16 @@
|
|||
{
|
||||
"callsign": "CD2RXU-11",
|
||||
"comment": "LoRa_APRS_iGate https://github.com/richonguzman/LoRa_APRS_iGate",
|
||||
"wifi": {
|
||||
"active": true,
|
||||
"AP": [
|
||||
{ "SSID": "Richon", "password": "k4fPnmg5qnyf"}
|
||||
]
|
||||
},
|
||||
"beacon": {
|
||||
"comment": "LoRa_APRS_iGate https://github.com/richonguzman/LoRa_APRS_iGate",
|
||||
"positions": [
|
||||
{ "latitude": -33.0337121, "longitude": -71.5738217}
|
||||
{ "SSID": "Jimenicita", "password": "mg6wyMhqRnxk" },
|
||||
{ "SSID": "Richon", "password": "k4fPnmg5qnyf" }
|
||||
],
|
||||
"timeout": 15
|
||||
"wifiPositions": [
|
||||
{ "latitude": -33.0312173, "longitude": -71.5795816 },
|
||||
{ "latitude": -33.0337121, "longitude": -71.5738217 }
|
||||
]
|
||||
},
|
||||
"aprs_is": {
|
||||
"active": true,
|
||||
|
|
@ -20,20 +19,14 @@
|
|||
"port": 14580
|
||||
},
|
||||
"lora": {
|
||||
"frequency_rx": 433775000,
|
||||
"gain_rx": 0,
|
||||
"frequency_tx": 433775000,
|
||||
"power": 20,
|
||||
"frequency": 433775000,
|
||||
"spreading_factor": 12,
|
||||
"signal_bandwidth": 125000,
|
||||
"coding_rate4": 5,
|
||||
"tx_enable": false
|
||||
"power": 20
|
||||
},
|
||||
"display": {
|
||||
"always_on": true,
|
||||
"timeout": 10,
|
||||
"overwrite_pin": 0,
|
||||
"turn180": true
|
||||
},
|
||||
"ntp_server": "pool.ntp.org"
|
||||
"timeout": 10
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);
|
||||
|
||||
// cppcheck-suppress unusedFunction
|
||||
void setup_display() {
|
||||
Wire.begin(OLED_SDA, OLED_SCL);
|
||||
|
||||
|
|
@ -27,7 +26,6 @@ void setup_display() {
|
|||
display.display();
|
||||
}
|
||||
|
||||
// cppcheck-suppress unusedFunction
|
||||
void display_toggle(bool toggle) {
|
||||
if (toggle) {
|
||||
display.ssd1306_command(SSD1306_DISPLAYON);
|
||||
|
|
@ -36,7 +34,6 @@ void display_toggle(bool toggle) {
|
|||
}
|
||||
}
|
||||
|
||||
// cppcheck-suppress unusedFunction
|
||||
void show_display(String line1, int wait) {
|
||||
display.clearDisplay();
|
||||
display.setTextColor(WHITE);
|
||||
|
|
@ -49,7 +46,6 @@ void show_display(String line1, int wait) {
|
|||
delay(wait);
|
||||
}
|
||||
|
||||
// cppcheck-suppress unusedFunction
|
||||
void show_display(String line1, String line2, int wait) {
|
||||
display.clearDisplay();
|
||||
display.setTextColor(WHITE);
|
||||
|
|
@ -64,7 +60,6 @@ void show_display(String line1, String line2, int wait) {
|
|||
delay(wait);
|
||||
}
|
||||
|
||||
// cppcheck-suppress unusedFunction
|
||||
void show_display(String line1, String line2, String line3, int wait) {
|
||||
display.clearDisplay();
|
||||
display.setTextColor(WHITE);
|
||||
|
|
@ -81,7 +76,6 @@ void show_display(String line1, String line2, String line3, int wait) {
|
|||
delay(wait);
|
||||
}
|
||||
|
||||
// cppcheck-suppress unusedFunction
|
||||
void show_display(String line1, String line2, String line3, String line4, int wait) {
|
||||
display.clearDisplay();
|
||||
display.setTextColor(WHITE);
|
||||
|
|
|
|||
Loading…
Reference in a new issue