Method | Description | |
---|---|---|
MCP4542 ( II2CBus device, System.Boolean pinA0, System.Boolean pinA1, MicrochipPotNonVolatileMode nonVolatileMode ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCP4542 class with the I2C device that is the connection to MCP4542, whether the address pin A0 is high or not, whether the address pin A1 is high or not, and the way to handle non-volatile I/O.
|
public MCP4542 ( II2CBus device, System.Boolean pinA0, System.Boolean pinA1, MicrochipPotNonVolatileMode nonVolatileMode ) : System | ||
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). /// |
nonVolatileMode | MicrochipPotNonVolatileMode | /// The way non-volatile reads or writes are done. /// |
return | System |