updated to configure baud rate in software