II2cDeviceStatics.FromIdAsync(String, I2cConnectionSettings) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
IAsyncOperation<I2cDevice ^> ^ FromIdAsync(Platform::String ^ deviceId, I2cConnectionSettings ^ settings);
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<I2cDevice> FromIdAsync(winrt::hstring const& deviceId, I2cConnectionSettings const& settings);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<I2cDevice> FromIdAsync(string deviceId, I2cConnectionSettings settings);
function fromIdAsync(deviceId, settings)
Public Function FromIdAsync (deviceId As String, settings As I2cConnectionSettings) As IAsyncOperation(Of I2cDevice)
Parameters
- deviceId
-
String
Platform::String
winrt::hstring
The plug and play device identifier of the I2 C bus controller for which you want to create an I2cDevice object.
- settings
- I2cConnectionSettings
The connection settings to use for communication with the I2 C bus controller that deviceId specifies.
Returns
An asynchronous operation that returns the I2cDevice object.
- Attributes
Windows requirements
App capabilities |
lowLevel
|