Wombat Environmental Node 1.0
An environmental node for SDI-12 and digital sensors.
Loading...
Searching...
No Matches
battery.cpp File Reference

Battery voltage and current monitoring using INA219 IC. More...

Include dependency graph for battery.cpp:

Macros

#define TAG   "battery"
 

Variables

static Adafruit_INA219 * battery = nullptr
 Adafruit_INA219 battery monitoring instance. More...
 
static bool ina219_ok = false
 Track if the INA219 is setup and available. More...
 

Detailed Description

Battery voltage and current monitoring using INA219 IC.

Date
January 2023

Macro Definition Documentation

◆ TAG

#define TAG   "battery"

Variable Documentation

◆ battery

Adafruit_INA219* battery = nullptr
static

Adafruit_INA219 battery monitoring instance.

◆ ina219_ok

bool ina219_ok = false
static

Track if the INA219 is setup and available.