예제 #1
0
 /// <summary>
 /// Requests the party system to send bytes read from the given memory address and register.
 /// </summary>
 /// <param name="slaveAddress">The slave's memory address</param>
 /// <param name="slaveRegister">The slave's register</param>
 /// <param name="bytesToRead">Number of bytes to read</param>
 public static void ReadI2COnce(this ArduinoSession session, int slaveAddress, int slaveRegister, int bytesToRead)
 {
     session.I2CSlaveRead(false, slaveAddress, slaveRegister, bytesToRead);
 }