I am new to arduino world and programming it, so my question may be so straight forward, but I would appreciate your help. I am using an arduino pro mini for a project which contains a couple of motors and a sensor (to be more specific, an IMU sensor). The sensor sends out it's reading through I2C and I was able to read the 6 angles while my arduino is connected to computer through the serial port. But I cannot connect the whole system to computer every time and I need to save the sensor data on the arduino and retrieve it later by connecting it to PC. My idea is that since the sensor is reading the data continuously, I want to sample that data every 1 second and save the sampled data on arduino. Can anybody help?