You should connect it to digital pins. S0 should go to pin number 4, S1 to pin number 5. When the light project to the TCSD we can choose the different type of photodiode by different combinations of S2 and S3. Either check for faulty readings and neglect them. It does not return the output frequency.
nest...