double getForceValue() { double forceValue; forceValue = AI_ForceSensor.ReadVoltage(); return(forceValue); }
/// <summary> /// Returns the current voltage reading of the potentiometer /// </summary> public double ReadPotentiometerVoltage() { return(input.ReadVoltage()); }
/// <summary> /// Returns the current voltage reading of the light sensor /// </summary> /// <returns>A voltage reading between 0 and 3.3.</returns> public double ReadLightSensorVoltage() { return(input.ReadVoltage()); }
/// <summary> /// Returns a value describing the reading of the air. /// </summary> /// <returns>Value between 0.0 and 3.3</returns> public double ReadVoltage() { return(ain.ReadVoltage()); }