C# 클래스 CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCP4431

Hardware device abstraction component for the Microchip MCP4331.
상속: MicrochipPotentiometerBase
파일 보기 프로젝트 열기: cyrusbuilt/MonoPi

공개 메소드들

메소드 설명
MCP4431 ( II2CBus device, Boolean pinA0, Int32 initialValue ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCP4431 class with the I2C device that is the connection to MCP4431, whether the address pin A0 is high or not, and the initial value of the wiper.

메소드 상세

MCP4431() 공개 메소드

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCP4431 class with the I2C device that is the connection to MCP4431, whether the address pin A0 is high or not, and the initial value of the wiper.
/// cannot be null. /// /// Unable to open the I2C bus. ///
public MCP4431 ( II2CBus device, Boolean pinA0, Int32 initialValue ) : System
device II2CBus /// The I2C bus device this instance is connected to. ///
pinA0 Boolean /// Whether the device's address pin A0 is high (true) or low (false). ///
initialValue Int32 /// The initial value to set. ///
리턴 System