Thread
:
Returning battery voltage into user program
View Single Post
#
6
19-02-2012, 18:32
RufflesRidge
Registered User
no team
Join Date: Jan 2012
Location: USA
Posts: 989
Re: Returning battery voltage into user program
There is a method for this in the Driver Station class.
This line code should do what you want I believe:
Code:
float voltage; ... ... voltage = DriverStation::GetInstance()->GetBatteryVoltage();
RufflesRidge
View Public Profile
Find all posts by RufflesRidge
Find CD-Media Photos by RufflesRidge
Find CD-Media Papers by RufflesRidge