Added a setBaudRate function to the uart