How to write the C program for the UART to receive two inputs V1 and f1, V2 and f2 from the PC through RS232?