-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong number of clock cycles during low ST #1
Comments
Hei! |
Hi, I noticed that the code has 87, it might have been edited recently... the code worked for me as is |
I agree that this doesn't look right. Looking at the spectrometer output with "i < 85" in the loop the first 2 'pixels' read are discontinuous with the rest of the spectrum. Ie 137, 135, 383, 373, 360 ... (full spectrum below). I wonder should it actually be "i < 87" in the loop because it looks like there are two dark pixels at the start. This wouldn't be noticed if you were doing your own calibration. But if you're using the calibration sheets provided on the GroupGets website then you'd be off by two pixels which would be an error of +3.4nm
|
Hello,
I found out that in your code there is an incorrect number of clock cycles during low ST.
There should be 87 cycles before the sensor starts outputting data, but in your code, it is only 86 (85 in loop + 1 outside).
The text was updated successfully, but these errors were encountered: