|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
||||
|
||||
|
Re: Battery Voltage
The DriverStation class has a method getBatteryVoltage() that provides the voltage of the battery.
The code statement to get the voltage would be Code:
DriverStation.getInstance().getBatteryVoltage(); |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|