Share via


I2CDevice.Configuration Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the I2CDevice..::..Configuration class.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

Syntax

'Declaration
Public Sub New ( _
    address As UShort, _
    clockRateKhz As Integer _
)
public Configuration(
    ushort address,
    int clockRateKhz
)
public:
Configuration(
    unsigned short address, 
    int clockRateKhz
)
new : 
        address:uint16 * 
        clockRateKhz:int -> Configuration
public function I2CDevice..::..Configuration(
    address : ushort, 
    clockRateKhz : int
)

Parameters

  • clockRateKhz
    Type: System. . :: . .Int32
    The clock rate used when communicating with the I2C device, in kHz. Note that the device uses an approximate value that it supports.

.NET Framework Security

See Also

Reference

I2CDevice. . :: . .Configuration Class

Microsoft.SPOT.Hardware Namespace