This project also contains an example of how to use external C files in coordination with Arduino IDEs' C++ language.
Abstract: Hyperspectral imaging can capture detailed spectra of materials, but due to imaging conditions and equipment limitations, the cost of hyperspectral data collection is extremely high.