Ads1115.RawToVoltage(Int16) Method

Definition

Convert Raw Data to Voltage

public double RawToVoltage (short val);
public UnitsNet.ElectricPotential RawToVoltage (short val);
member this.RawToVoltage : int16 -> double
member this.RawToVoltage : int16 -> UnitsNet.ElectricPotential
Public Function RawToVoltage (val As Short) As Double
Public Function RawToVoltage (val As Short) As ElectricPotential

Parameters

val
Int16

Raw Data

Returns

UnitsNet.ElectricPotential

Voltage, based on the current measuring range

Applies to