How to log data from the arduino board