Updated UART output and ASCII conversion code