I2cConnectionSettings(Int32) Constructor
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.
Creates and initializes a new instance of the I2cConnectionSettings class for inter-integrated circuit (I2 C) device with specified bus address, using the default settings of the standard mode for the bus speed and exclusive sharing mode.
public:
I2cConnectionSettings(int slaveAddress);
I2cConnectionSettings(int const& slaveAddress);
public I2cConnectionSettings(int slaveAddress);
function I2cConnectionSettings(slaveAddress)
Public Sub New (slaveAddress As Integer)
Parameters
- slaveAddress
-
Int32
int
The bus address of the inter-integrated circuit (I2 C) device to which the settings of the I2cConnectionSettings should apply. Only 7-bit addressing is supported, so the range of values that are valid is from 8 to 119.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for