Files
firmware/src/modules/Telemetry/Sensor
Warren Guy 974fc31856 INA3221 sensor: use for bus voltage & environment metrics (#4215)
* use INA3221 for bus voltage; fixes for telemetry variants

- add to sensors available for environment telemetry
  (to report voltage/current)
- add vars to define channels to use for battery voltage
  (for getBusVoltage) and environment metrics (default
  to CH1 for both)
- write to the correct fields on the measurement struct
  depending on the measurement variant, and DRY up the
  sensor measurement collection code a bit
- this might be suitable for a common implementation for
  the INA* sensors in a future PR...

* formatting

* derp

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-07-11 08:34:55 -05:00
..
2024-05-03 14:26:57 +02:00
2024-06-03 16:34:19 +02:00
2024-05-03 14:26:57 +02:00
2024-05-03 14:26:57 +02:00
2024-05-03 14:26:57 +02:00
2024-05-03 14:26:57 +02:00
2024-05-03 14:26:57 +02:00
2024-05-03 14:26:57 +02:00
2024-05-06 12:15:49 +12:00
2024-05-03 14:26:57 +02:00
2024-05-03 14:26:57 +02:00
2024-05-03 14:26:57 +02:00