def __init__(self, device, baudrate, store, rounds=<NUM_LIT:100>, timeout=<NUM_LIT>):
threading.Thread.__init__(self)<EOL>self.baudrate = baudrate<EOL>self.store = store<EOL>self.rounds = rounds<EOL>self.do_run = True<EOL>self.device_name = device<EOL>try:<EOL><INDENT>if device:<EOL><INDENT>self.device = serial.Serial(device, self.baudrate, timeout=timeout);<EOL><DEDENT><DEDENT>except serial.serialutil.SerialException:<EOL><INDENT>print("<STR_LIT>" + self.device_name)<EOL><DEDENT>
Initialize the serial reader class
    device        device name to connect to
    baudrate      the baud rate for the serial line
    store        the data store object to send the data to
    rounds        number of rounds to run / listen for input