Exemplo n.º 1
0
        private void Write(Command command, Register register, Mode0 mode)
        {
            this.write2[0] = (byte)((byte)command | (byte)register);
            this.write2[1] = (byte)mode;

            this.spi.Write(this.write2);
        }
Exemplo n.º 2
0
		private void Write(Command command, Register register, Mode0 mode) {
			this.write2[0] = (byte)((byte)command | (byte)register);
			this.write2[1] = (byte)mode;

			this.spi.Write(this.write2);
		}