modified debug output to reduce serial buffer use. > means RX, < means TX