added UART sampling code snippet

debugging the UART4, this snippet was added to parse incoming data and
print it as hex output.