#include <src/sensors/ProcessorStats.h>
ProcessorStats_Battery
class
The Variable sub-class used for the battery voltage output measured by the processor's on-board ADC.
- Reference
- Detailed Descriptions
Base classes
- class Variable
- The variable class for a value and related metadata.
Constructors, destructors, conversion operators
- ProcessorStats_Battery(ProcessorStats* parentSense, const char* uuid = "", const char* varCode = "Battery") explicit
- Construct a new ProcessorStats_
Battery object. - ProcessorStats_Battery()
- Construct a new ProcessorStats_
Battery object. - ~ProcessorStats_Battery()
- Destroy the ProcessorStats_
Battery object - no action needed.
Function documentation
ProcessorStats_ Battery:: ProcessorStats_Battery(ProcessorStats* parentSense,
const char* uuid = "",
const char* varCode = "Battery") explicit
Construct a new ProcessorStats_
Parameters | |
---|---|
parentSense | The parent ProcessorStats providing the result values. |
uuid | A universally unique identifier (UUID or GUID) for the variable; optional with the default value of an empty string. |
varCode | A short code to help identify the variable in files; optional with a default value of "batteryVoltage". |