public LiquidCrystal_I2C_PCF8574(Nusbio nusbio, NusbioGpio sdaOutPin, NusbioGpio sclPin, int cols, int rows, int deviceId = 0x27, bool debug = false, int backlight = LCD_NOBACKLIGHT) : base(nusbio) { base.NumCols = (uint8_t)cols; base.NumLines = (uint8_t)rows; this._i2c = new I2CEngine(nusbio, sdaOutPin, sclPin, (byte)deviceId, debug); this._backlightval = backlight; this._i2c.DeviceId = (byte)deviceId; this.DeviceID = deviceId; this._nusbio = nusbio; }
public MCP9808_TemperatureSensor(Nusbio nusbio, NusbioGpio sdaOutPin, NusbioGpio sclPin, byte deviceId = MCP9808_I2CADDR_DEFAULT, int waitTimeAfterWriteOperation = 5, bool debug = false) { this._i2c = new I2CEngine(nusbio, sdaOutPin, sclPin, deviceId, debug); this._nusbio = nusbio; }
public IS31FL3731(Nusbio nusbio, NusbioGpio sdaOutPin, NusbioGpio sclPin, byte deviceId = ISSI_ADDR_DEFAULT, int width = 16, int height = 9) : base((Int16)width, (Int16)height) { this._i2c = new I2CEngine(nusbio, sdaOutPin, sclPin, deviceId); this._nusbio = nusbio; }
public LiquidCrystal_I2C(Nusbio nusbio, NusbioGpio sdaOutPin, NusbioGpio sclPin, int cols, int rows, byte deviceId = 0x27, bool debug = false) { this._cols = (uint8_t)cols; this._rows = (uint8_t)rows; this._nusbio = nusbio; this._i2c = new I2CEngine(nusbio, sdaOutPin, sdaOutPin, sclPin, 0, debug); this._backlightval = LCD_NOBACKLIGHT; this._i2c.DeviceId = deviceId; }
public MCP230XX_Base(Nusbio nusbio, NusbioGpio sdaOutPin, NusbioGpio sclPin) { this._nusbio = nusbio; this._i2c = new I2CEngine(nusbio, sdaOutPin, sclPin, 0); this.GPIOS = new Dictionary<string, GpioPublicApiBase>(); }
public MCP4725_12BitDac(Nusbio nusbio, NusbioGpio sdaOutPin, NusbioGpio sclPin, byte deviceId, int waitTimeAfterWriteOperation = 5, bool debug = false) { this._i2c = new I2CEngine(nusbio, sdaOutPin, sclPin, deviceId, debug); }
public MCP230XX_Base(Nusbio nusbio, NusbioGpio sdaOutPin, NusbioGpio sclPin) { this._nusbio = nusbio; this._i2c = new I2CEngine(nusbio, sdaOutPin, sclPin, 0); this.GPIOS = new Dictionary <string, GpioPublicApiBase>(); }
public LEDBackpack(int16_t width, int16_t height, Nusbio nusbio, NusbioGpio sdaOutPin, NusbioGpio sclPin) : base(width, height) { this._nusbio = nusbio; this._i2c = new I2CEngine(nusbio, sdaOutPin, sclPin, 0); }
public EEPROM_24LCXXX_BASE(Nusbio nusbio, NusbioGpio sdaPin, NusbioGpio sclPin, int kBit, bool debug = false) { this._kBit = kBit; this._i2c = new I2CEngine(nusbio, sdaPin, sclPin, 0, debug); }