(self, num)
Read num bytes - GET on COM port.
Read num bytes - GET on COM port.
Read num bytes - GET on COM port .
def get(self, num):
        """Read num bytes - GET on COM port."""
        if not num:
            return
        # blocking read of num bytes
        s = self.read(num)
        self._field.view_buffer()[:len(s)] = s
def get ( self , num ) : if not num : return # blocking read of num bytes s = self . read ( num ) self . _field . view_buffer ( ) [ : len ( s ) ] = s