APM:Libraries
Classes | Macros
AP_BattMonitor_Analog.h File Reference
#include <AP_ADC/AP_ADC.h>
#include "AP_BattMonitor.h"
#include "AP_BattMonitor_Backend.h"
Include dependency graph for AP_BattMonitor_Analog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AP_BattMonitor_Analog
 

Macros

#define AP_BATT_VOLT_PIN   4
 
#define AP_BATT_CURR_PIN   3
 
#define AP_BATT_VOLTDIVIDER_DEFAULT   10.1f
 
#define AP_BATT_CURR_AMP_PERVOLT_DEFAULT   17.0f
 

Macro Definition Documentation

◆ AP_BATT_CURR_AMP_PERVOLT_DEFAULT

#define AP_BATT_CURR_AMP_PERVOLT_DEFAULT   17.0f

Definition at line 30 of file AP_BattMonitor_Analog.h.

◆ AP_BATT_CURR_PIN

#define AP_BATT_CURR_PIN   3

Definition at line 28 of file AP_BattMonitor_Analog.h.

◆ AP_BATT_VOLT_PIN

#define AP_BATT_VOLT_PIN   4

Definition at line 27 of file AP_BattMonitor_Analog.h.

◆ AP_BATT_VOLTDIVIDER_DEFAULT

#define AP_BATT_VOLTDIVIDER_DEFAULT   10.1f

Definition at line 29 of file AP_BattMonitor_Analog.h.