메소드 | 설명 | |
---|---|---|
MCP4631 ( II2CBus device, System.Boolean pinA0, System.Boolean pinA1, System.Boolean pinA2, MicrochipPotChannel channel, |
Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCP4631 class with the I2C device connection, pin A0, A1, and A2 states, the potentiometer (channel) provided by the device, and the initial value for devices which are not capable of non-volatile wipers.
|
public MCP4631 ( II2CBus device, System.Boolean pinA0, System.Boolean pinA1, System.Boolean pinA2, MicrochipPotChannel channel, |
||
device | II2CBus | /// The I2C bus device this instance is connected to. /// |
pinA0 | System.Boolean | /// Whether the device's address pin A0 is high (true) or low (false). /// |
pinA1 | System.Boolean | /// Whether the device's address pin A1 is high (true) or low (false). /// |
pinA2 | System.Boolean | /// Whether the device's address pin A2 is high (true) or low (false). /// |
channel | MicrochipPotChannel | /// Which of the potentiometers provided by the device to control. /// |
initialValue | /// The value for devices which are not capable of non-volatile wipers. /// | |
리턴 | System |