gave credit to Parker Dillman for uart code