kopia lustrzana https://github.com/lora-aprs/LoRa_APRS_Tracker
Porównaj commity
9 Commity
Autor | SHA1 | Data |
---|---|---|
Peter Buchegger | 72c33cbf9f | |
Peter Buchegger | 04287e4e1f | |
Peter Buchegger | cdee7e75cd | |
Peter Buchegger | c4e39cb214 | |
Peter Buchegger | 293ca3378f | |
Peter Buchegger | 872132d1b7 | |
Peter Buchegger | dc7dcaf083 | |
root | 95ca590cb2 | |
root | 634f8d492f |
|
@ -2,7 +2,7 @@
|
|||
default_envs = ttgo-t-beam-v1
|
||||
|
||||
[env]
|
||||
platform = espressif32 @ 6.3.2
|
||||
platform = espressif32 @ 6.4.0
|
||||
framework = arduino
|
||||
lib_ldf_mode = deep+
|
||||
monitor_speed = 115200
|
||||
|
@ -10,7 +10,7 @@ monitor_filters = esp32_exception_decoder
|
|||
lib_deps =
|
||||
adafruit/Adafruit GFX Library @ 1.11.7
|
||||
adafruit/Adafruit SSD1306 @ 2.5.7
|
||||
bblanchon/ArduinoJson @ 6.21.2
|
||||
bblanchon/ArduinoJson @ 6.21.3
|
||||
lewisxhe/XPowersLib @ 0.1.8
|
||||
sandeepmistry/LoRa @ 0.8.0
|
||||
peterus/APRS-Decoder-Lib @ 0.0.6
|
||||
|
|
|
@ -367,6 +367,9 @@ void loop() {
|
|||
would lead to decrease of beacon rate in between 5 to 20 km/h. what
|
||||
is even below the slow speed rate.
|
||||
*/
|
||||
if (curr_speed == 0) {
|
||||
curr_speed = 1;
|
||||
}
|
||||
txInterval = min(BeaconMan.getCurrentBeaconConfig()->smart_beacon.slow_rate,
|
||||
BeaconMan.getCurrentBeaconConfig()->smart_beacon.fast_speed * BeaconMan.getCurrentBeaconConfig()->smart_beacon.fast_rate / curr_speed) *
|
||||
1000;
|
||||
|
|
|
@ -146,13 +146,13 @@ bool AXP2101::begin(TwoWire &port) {
|
|||
_pmu->enablePowerOutput(XPOWERS_ALDO3);
|
||||
|
||||
// disable all axp chip interrupt
|
||||
_pmu->disableIRQ(XPOWERS_AXP192_ALL_IRQ);
|
||||
_pmu->disableIRQ(XPOWERS_AXP2101_ALL_IRQ);
|
||||
|
||||
// Set constant current charging current
|
||||
_pmu->setChargerConstantCurr(XPOWERS_AXP192_CHG_CUR_780MA);
|
||||
_pmu->setChargerConstantCurr(XPOWERS_AXP2101_CHG_CUR_800MA);
|
||||
|
||||
// Set up the charging voltage
|
||||
_pmu->setChargeTargetVoltage(XPOWERS_AXP192_CHG_VOL_4V2);
|
||||
_pmu->setChargeTargetVoltage(XPOWERS_AXP2101_CHG_VOL_4V2);
|
||||
|
||||
_pmu->setChargingLedMode(XPOWERS_CHG_LED_CTRL_CHG);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue