DriverStationEnhancedIO &dseio = DriverStation::GetInstance()->GetEnhancedIO(); // read first analog input float value = dseio.GetAnalogIn(1);