Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
import time
import board
from driver.c12880ma import C12880MA
sp = C12880MA(trg=board.TRG, st=board.STA, clk=board.CLK, video=board.VID)
sp.begin()
sp.setIntegrationTime_s(0.01)
time.sleep_ms(200)
sp.read()
print(sp.wavelengths)
print(sp.spectrum)
554ae089bThis file is pinned to the selected release. Download the original to open it in your design tool.