Thunderbots Project
Loading...
Searching...
No Matches
PowerMonitor Class Reference

#include <power_monitor.h>

Public Member Functions

 PowerMonitor ()
 
float getBatteryVoltage ()
 
float getCurrentDrawAmp ()
 

Detailed Description

Represents the power monitor on the power board

Constructor & Destructor Documentation

◆ PowerMonitor()

Creates a Power Monitor setting up part relevant firmware

Member Function Documentation

◆ getBatteryVoltage()

float getBatteryVoltage ( )

Returns the current battery voltage in volts

Returns
the current battery voltage in volts

◆ getCurrentDrawAmp()

float getCurrentDrawAmp ( )

Returns the current current draw in amps

Returns
the current current draw in amps

The documentation for this class was generated from the following files: