Subversion Repositories group.electronics

Rev

Rev 181 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 181 Rev 184
Line 145... Line 145...
145
        public int ReadI2CData(byte address, ref byte[] data, uint count) {
145
        public int ReadI2CData(byte address, ref byte[] data, uint count) {
146
            int rslt = this.usbi2c.Functions.ReadI2cData(address, data, count, this.speed);
146
            int rslt = this.usbi2c.Functions.ReadI2cData(address, data, count, this.speed);
147
            return rslt;
147
            return rslt;
148
        }
148
        }
149
 
149
 
-
 
150
        public void SetGpio(byte pin, byte data) {
-
 
151
            this.usbi2c.Functions.WriteGpioPinValue(pin, data);
-
 
152
        }
-
 
153
 
150
    }
154
    }
151
}
155
}