The article describes the measurement of spectrum of a luminescent diode by means of interference spectroscopy. The form of the spectral density is determined from the measured autocorrelation function. The autocorrelation function is measured by means of Michelson interferometer. Basic relations for the calculation of spectral density from the measured autocorrelation function are derived. The focus of the article is concentrated on the correct setting of sampling parameters of the interference spectrometer.