mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-08 14:12:05 +00:00
Added defines in verient for battery-related
setting for using rp2040-lora with INA voltage sensors.
This commit is contained in:
parent
e0a697feb6
commit
5271582062
@ -23,7 +23,7 @@
|
|||||||
// ratio of voltage divider = 3.0 (R17=200k, R18=100k)
|
// ratio of voltage divider = 3.0 (R17=200k, R18=100k)
|
||||||
// #define ADC_MULTIPLIER 3.1 // 3.0 + a bit for being optimistic
|
// #define ADC_MULTIPLIER 3.1 // 3.0 + a bit for being optimistic
|
||||||
|
|
||||||
// Enables battery-related code and requires BATTERY_IMMUTABLE to be defined.
|
// Enables battery-related code and requires BATTERY_IMMUTABLE to be defined. Voltage divider is picked frist.
|
||||||
// Ensure a valid address is configured for the INA sensor from which voltage readings are to be obtained.
|
// Ensure a valid address is configured for the INA sensor from which voltage readings are to be obtained.
|
||||||
// #define HAS_BATTERY
|
// #define HAS_BATTERY
|
||||||
// #define BATTERY_IMMUTABLE
|
// #define BATTERY_IMMUTABLE
|
||||||
|
Loading…
Reference in New Issue
Block a user