public ExplorerHat_ADS1015(IXI2CDevice i2cDevice, ExplorerHat_ADS1015_Channel channel, XGain gain = XGain.Volt5,
     XSamplesPerSecond samples = XSamplesPerSecond.SPS1600) : base(i2cDevice, 0x48)
 {
     _channel = channel;
     _xGain = gain;
     _xSamples = samples;
 }
Example #2
0
 public ExplorerHat_ADS1015(IXI2CDevice i2cDevice, ExplorerHat_ADS1015_Channel channel, XGain gain = XGain.Volt5,
                            XSamplesPerSecond samples = XSamplesPerSecond.SPS1600) : base(i2cDevice, 0x48)
 {
     _channel  = channel;
     _xGain    = gain;
     _xSamples = samples;
 }
Example #3
0
        public LCD_Hitachi_I2CIO(IXI2CDevice i2cDevice)
        {
            _i2cDevice = i2cDevice;

            _dirMask     = 0xFF; // mark all as INPUTs
            _shadow      = 0x0;  // no values set
            _initialised = false;
        }
Example #4
0
 public LCD_Hitachi_I2CIO(IXI2CDevice i2cDevice)
 {
     _i2cDevice = i2cDevice;
      
     _dirMask = 0xFF;    // mark all as INPUTs
     _shadow = 0x0;     // no values set
     _initialised = false;
 }
Example #5
0
 public ExplorerHat_AnaloguePlug4(IXI2CDevice i2CDevice) : base(i2CDevice, ExplorerHat_ADS1015_Channel.A4)
 {
 }
Example #6
0
 protected ExplorerHat_AnaloguePlug(IXI2CDevice i2CDevice, ExplorerHat_ADS1015_Channel channel)
 {
     _ads = new ExplorerHat_ADS1015(i2CDevice, channel);
 }
Example #7
0
 public OLDED_SSD1306_I2C(IXI2CDevice device)
 {
     _device = device;
 }
Example #8
0
 public LCD_Hitatchi_I2C(IXI2CDevice i2CDevice)
 {
     _i2CDevice = i2CDevice;
 }
 public OLED_SSD1306_I2CIO(IXI2CDevice i2cDevice)
 {
     _i2cDevice = i2cDevice;
     _initialised = false;
 }
 protected ExplorerHat_AnaloguePlug(IXI2CDevice i2CDevice, ExplorerHat_ADS1015_Channel channel)
 {
     _ads = new ExplorerHat_ADS1015(i2CDevice, channel);
 }
 public ExplorerHat_AnaloguePlug4(IXI2CDevice i2CDevice) : base(i2CDevice, ExplorerHat_ADS1015_Channel.A4)
 {
 }
Example #12
0
 public ADS1015(IXI2CDevice i2Cdevice, int address)
 {
     _i2Cdevice = i2Cdevice;
     _address   = address;
 }
Example #13
0
 public ADS1015(IXI2CDevice i2Cdevice, int address)
 {
     _i2Cdevice = i2Cdevice;
     _address = address;
    
 }
Example #14
0
 public LCD_Hitatchi_I2C(IXI2CDevice i2CDevice)
 {
     _i2CDevice = i2CDevice;
 }
Example #15
0
 public OLED_SSD1306_I2CIO(IXI2CDevice i2cDevice)
 {
     _i2cDevice   = i2cDevice;
     _initialised = false;
 }
Example #16
0
 public OLDED_SSD1306_I2C(IXI2CDevice device)
 {
     _device = device;
 }