preparing for spiffs

This commit is contained in:
richonguzman 2023-02-07 10:52:28 -03:00
parent 989df7e041
commit 1446468596
3 changed files with 49 additions and 0 deletions

46
data/tracker_config.json Normal file
View File

@ -0,0 +1,46 @@
{
"beacons": [
{
"callsign": "CD2RXU-7",
"symbol": "[",
"path": "APLT00",
"overlay": "/",
"slow_rate": 120,
"slow_speed": 3,
"fast_rate": 60,
"fast_speed": 15,
"min_tx_dist": 3,
"min_delta_bcn": 20,
"turn_min_deg": 3,
"turn_slope": 40
},
{
"callsign": "CD2RXU-8",
"symbol": "b",
"path": "APLT00",
"overlay": "/",
"slow_rate": 120,
"slow_speed": 5,
"fast_rate": 60,
"fast_speed": 40,
"min_tx_dist": 100,
"min_delta_bcn": 12,
"turn_min_deg": 12,
"turn_slope": 60
},
{
"callsign": "CD2RXU-9",
"symbol": ">",
"path": "APLT00",
"overlay": "/",
"slow_rate": 120,
"slow_speed": 10,
"fast_rate": 60,
"fast_speed": 70,
"min_tx_dist": 100,
"min_delta_bcn": 12,
"turn_min_deg": 10,
"turn_slope": 80
}
]
}

View File

@ -17,4 +17,5 @@ lib_deps =
jgromes/RadioLib@^5.5.0
paulstoffregen/Time@^1.6.1
mathertel/OneButton@^2.0.3
bblanchon/ArduinoJson@^6.20.0
monitor_speed = 115200

View File

@ -18,6 +18,8 @@ HardwareSerial neo6m_gps(1);
TinyGPSPlus gps;
OneButton UserButton1 = OneButton(BUTTON1_PIN, true, true);
String CurrentUser[10];
static bool send_update = true;