Updated arduino driver to accept user input.