utilities/get_orp.py
def read_lines():
        """
        also taken from ftdi lib to work with modified readline function
        """
        lines = []
        try:
                while True:
                        line = read_line()
                        if not line:
                                break
                                ser.flush_input()
                        lines.append(line)
                return lines

        except SerialException as e:
                print "Error, ", e
                return None

        also taken from ftdi lib to work with modified readline function
        
also taken from ftdi lib to work with modified readline function
also taken from ftdi lib to work with modified readline function
def read_lines():
        lines = []
        try:
                while True:
                        line = read_line()
                        if not line:
                                break
                                ser.flush_input()
                        lines.append(line)
                return lines
        except SerialException as e:
                print "Error, ", e
                return None
def read_lines ( ) : lines = [ ] try : while True : line = read_line ( ) if not line : break ser . flush_input ( ) lines . append ( line ) return lines except SerialException as e : print "Error, " , e return None
also taken from ftdi lib to work with modified readline function
also taken from ftdi lib to work with modified readline function
"""
        also taken from ftdi lib to work with modified readline function
        """