Create a program which records 5 seconds of analogue data to the screen and a text file. Use a potentiometer to generate the analogue input data. –You will need to specify a sample period to capture and store an analogue value every, say, 100 ms. Ensure that your data file records time and voltage data, you can then plot a chart of the measured data to visualize the input readings.