AGV Systems interview question

Write a program to read ADC and send to UART?