Because I was having some problems using the TCS230 Library MD_TCS230, I had to consult the documentaion at
While searching for a solution to my problem, I came across these methods:
classes - class list - MD_TCS230 - setFilter
Set the outputs s0, s1 to match the specified photodiode filter.
and
classes -class list - MD_TCS230 - setFrequency
Set the outputs s2, s3 to match the specified frequency prescaler.
In the section
arduino tcs230 library - supported hardware
it is clearly stated that
S0 and S1 are responsible for Output Freq Scaling
and
S2 and S3 for Photodiode Selection
So, they were obviously mixed up.
It also states:
"Default library value is 100% prescaler (TCS23_FREQ_HI)"
where the zero is clearly missing.
Under
files - file members - variables
you will find the correct constants:
TCS230_FREQ_HI : MD_TCS230.h
TCS230_FREQ_LO : MD_TCS230.h
TCS230_FREQ_MID : MD_TCS230.h
TCS230_FREQ_OFF : MD_TCS230.h
Although the revision history ranges from 2013 to 2018, these typos have not been corrected.
Unfortunately, I have not been able to contact the author, Marco Colli (marco_c) at majicdesigns.
Perhaps someone will have better luck than me.