Ejemplo n.º 1
0
        protected async override Task Initialize(ISocket parentSocket)
        {
            this.i2c = await parentSocket.CreateI2cDeviceAsync(new Windows.Devices.I2c.I2cConnectionSettings(AccelG248.I2cAddress));

            this.i2c.WriteRegister(0x2A, 0x01);
        }
Ejemplo n.º 2
0
		protected async override Task Initialize(ISocket parentSocket) {
			this.i2c = await parentSocket.CreateI2cDeviceAsync(new Windows.Devices.I2c.I2cConnectionSettings(TempHumidSI70.I2cAddress), SocketPinNumber.Five, SocketPinNumber.Four);
		}
Ejemplo n.º 3
0
 protected async override Task Initialize(ISocket parentSocket)
 {
     this.i2c = await parentSocket.CreateI2cDeviceAsync(new Windows.Devices.I2c.I2cConnectionSettings(TempHumidSI70.I2cAddress), SocketPinNumber.Five, SocketPinNumber.Four);
 }
Ejemplo n.º 4
0
		protected async override Task Initialize(ISocket parentSocket) {
			this.i2c = await parentSocket.CreateI2cDeviceAsync(new Windows.Devices.I2c.I2cConnectionSettings(AccelG248.I2cAddress));
			this.i2c.WriteRegister(0x2A, 0x01);
		}