Ejemplo n.º 1
0
    def readStr(self, length):
        """
        readStr(Uart self, int length) -> std::string

        Parameters
        ----------
        length: int




        Read bytes from the device into a String object

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

        length:  to read

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

        std::bad_alloc:  If there is no space left for read.

        string of data 
        """
        return _mraa.Uart_readStr(self, length)
Ejemplo n.º 2
0
    def readStr(self, length):
        """
        readStr(Uart self, int length) -> std::string

        Parameters:
            length: int

        """
        return _mraa.Uart_readStr(self, length)
Ejemplo n.º 3
0
 def readStr(self, length):
     return _mraa.Uart_readStr(self, length)