def METHOD_NAME(self):
    """
    taken from the ftdi library and modified to
    use the ezo line separator "\r"
    """
    lsl = len('\r')
    line_buffer = []
    while True:
        next_char = self.atlas_device.read(1)
        if next_char in [b'', b'\r', '']:
            break
        line_buffer.append(next_char)
        if (len(line_buffer) >= lsl and
                line_buffer[-lsl:] == list('\r')):
            break
    return b''.join(line_buffer)