1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Re #316: Battery voltage calculation converted to integer arithmetic, unit tests updated to account for proper rounding of voltage

Added frsky_hiprec_vfas configuration option that selects how VFAS is sent
Better arithmetics for FrSky CELL voltages, VFAS battery voltage send with other ID that allows 0.1V resolution
This commit is contained in:
Damjan Adamic 2015-02-05 15:23:58 +01:00
parent 9d0e464aaf
commit 517d38c94f
7 changed files with 50 additions and 26 deletions

View file

@ -47,10 +47,25 @@ For 2 and 3 use the CLI command as follows:
set telemetry_inversion = 1
```
### Precision setting for VFAS
Cleanflight can send VFAS (FrSky Ampere Sensor Voltage) in two ways:
```
set frsky_hiprec_vfas = 0
```
This is default setting which supports VFAS resolution of 0.2 volts and is supported on all FrSky hardware.
```
set frsky_hiprec_vfas = 1
```
This is new setting which supports VFAS resolution of 0.1 volts and is only supported by OpenTX radios (this method uses custom ID 0x39).
### Notes
RPM shows throttle output when armed.
RPM shows when diarmed.
RPM shows when disarmed.
TEMP2 shows Satellite Signal Quality when GPS is enabled.
RPM requires that the 'blades' setting is set to 12 on your receiver/display - tested with Taranis/OpenTX.