Trying to build a spectrophotometer for my HS Chemistry class using RedBoard Plus, AS7343 and ASAS7331. Need programming help-nothing I have tried has worked

Need programming help. I have tried several sources but each has at least one fatal error. The majority of high school equipment will not give you a wavelength, only a color spectrum. With single point lasers and diffraction grating, along with some math, I can get decent results. This method only works for single light, it red and/or green lasers. I am trying to get numbers for spectra from various sources. This is my first time using Arduino boards.

The AS7331 UV sensor is not suitable for a spectrophotometer, but the AS7343 would be a good place to start. It measures light intensities in 11 wavelength bands across the visible part of the light spectrum.

To get started, carefully follow the instructions in the “Hookup Guide”. Feel free to post again if you have questions.