Arduino code for a home-made ccd spectrometer