示例#1
0
    def write(self, data):
        """
        write(I2c self, uint8_t const * data) -> mraa::Result

        Parameters:
            data: uint8_t const *

        """
        return _mraa.I2c_write(self, data)
示例#2
0
    def write(self, data):
        """
        write(I2c self, uint8_t const * data) -> mraa::Result

        Parameters
        ----------
        data: uint8_t const *




        Write length bytes to the bus, the first byte in the array is the
        command/register to write

        Parameters:
        -----------

        data:  Buffer to send on the bus, first byte is i2c command

        length:  Size of buffer to send

        Result of operation 
        """
        return _mraa.I2c_write(self, data)
示例#3
0
 def write(self, data):
     return _mraa.I2c_write(self, data)