def read(self, length=<NUM_LIT:1>):
response = '<STR_LIT>'<EOL>if self.__read_buffer:<EOL><INDENT>if length <= len(self.__read_buffer):<EOL><INDENT>response = self.__read_buffer[:length]<EOL>self.__read_buffer = self.__read_buffer[length:]<EOL><DEDENT>else:<EOL><INDENT>response = self.__read_buffer<EOL>self.__read_buffer = '<STR_LIT>'<EOL><DEDENT>print("<STR_LIT>")<EOL>return response<EOL><DEDENT>print("<STR_LIT>")<EOL>time.sleep(self.timeout)<EOL>return response<EOL>
Returns hard coded string if a 0x91 command
was sent to write prior to calling read.

Otherwise, returns empty string.

:param length: length to read
:return: byte_string