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); }