Adafruit_PureIO/smbus.py
def read_byte(self, addr):
        """Read a single byte from the specified device."""
        assert self._device is not None, 'Bus must be opened before operations are made against it!'
        self._select_device(addr)
        return ord(self._device.read(1))
def read_byte(self, addr):
        assert self._device is not None, 'Bus must be opened before operations are made against it!'
        self._select_device(addr)
        return ord(self._device.read(1))
def read_byte ( self , addr ) : assert self . _device is not None , 'Bus must be opened before operations are made against it!' self . _select_device ( addr ) return ord ( self . _device . read ( 1 ) )
Read a single byte from the specified device.
Read a single byte from the specified device .