Esempio n. 1
0
        /// <summary>
        /// Reads a single byte at the "current address" (next byte after the last operation).
        /// </summary>
        public byte ReadByte()
        {
            // Get correct I2C device for memory address and flags
            var device = GetI2cDeviceForMemoryAddress(0);

            // Read and return data
            return(I2cExtensions.ReadByte(device));
        }