Exemple #1
0
    def readByte(self):
        """
        readByte(I2c self) -> uint8_t

        Parameters:
            self: mraa::I2c *

        """
        return _mraa.I2c_readByte(self)
Exemple #2
0
    def readByte(self):
        """
        readByte(I2c self) -> uint8_t

        Parameters
        ----------
        self: mraa::I2c *




        Read exactly one byte from the bus

        Exceptions:
        -----------

        std::invalid_argument:  in case of error

        char read from the bus 
        """
        return _mraa.I2c_readByte(self)
Exemple #3
0
 def readByte(self):
     return _mraa.I2c_readByte(self)