C# Класс CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCP4561

Hardware device abstraction component for the Microchip MCP4561.
Наследование: MicrochipPotentiometerBase
Показать файл Открыть проект

Открытые методы

Метод Описание
MCP4561 ( II2CBus device, System.Boolean pinA0, MicrochipPotNonVolatileMode nonVolatileMode ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCP4561 class with the I2C device that is the connection to MCP4561, whether the address pin A0 is high or not, and the way to handle non-volatile I/O.

SetNonVolatileMode ( MicrochipPotNonVolatileMode mode ) : void

Sets the way in which non-volatile reads and writes are done.

Описание методов

MCP4561() публичный Метод

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Potentiometers.Microchip.MCP4561 class with the I2C device that is the connection to MCP4561, whether the address pin A0 is high or not, and the way to handle non-volatile I/O.
/// cannot be null. /// /// Unable to open the I2C bus. ///
public MCP4561 ( II2CBus device, System.Boolean pinA0, 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). ///
nonVolatileMode MicrochipPotNonVolatileMode /// The way non-volatile reads or writes are done. ///
Результат System

SetNonVolatileMode() публичный Метод

Sets the way in which non-volatile reads and writes are done.
public SetNonVolatileMode ( MicrochipPotNonVolatileMode mode ) : void
mode MicrochipPotNonVolatileMode /// The non-volatile mode. ///
Результат void