Method: I2C::Dev#read_byte

Defined in:
lib/i2c/backends/i2c-dev.rb

#read_byte(address) ⇒ Object

Read a byte from the current address. Return a one char String which can be treated with String#unpack



68
69
70
# File 'lib/i2c/backends/i2c-dev.rb', line 68

def read_byte(address)
	read(address, 1);
end