메소드 | 설명 | |
---|---|---|
MCP4662 ( II2CBus device, System.Boolean pinA0, System.Boolean pinA1, MicrochipPotChannel channel, MicrochipPotNonVolatileMode nonVolatileMode ) : System |
Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCP4662 class with the I2C device connection, pin A0 and A1 states, the potentiometer (channel) provided by the device, and how to do non-volatile I/O.
|
|
SetNonVolatileMode ( MicrochipPotNonVolatileMode mode ) : void |
Sets the way in which non-volatile reads and writes are done.
|
public MCP4662 ( II2CBus device, System.Boolean pinA0, System.Boolean pinA1, MicrochipPotChannel channel, 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). /// |
channel | MicrochipPotChannel | /// Which of the potentiometers provided by the device to control. /// |
nonVolatileMode | MicrochipPotNonVolatileMode | /// The way non-volatile reads or writes are done. /// |
리턴 | System |
public SetNonVolatileMode ( MicrochipPotNonVolatileMode mode ) : void | ||
mode | MicrochipPotNonVolatileMode | /// The non-volatile mode. /// |
리턴 | void |