I am supposed to create a program that simultaneously takes data from serial communication and writes them to a .csv file. The first stage (serial communication) is done, but I