I am trying to use TCS3200 color sensor with maestro. Its output in frequency. Can you please guide me how can I convert digital frequency output of color sensor into a 0-255 scale) so that I can use mathematics to detect plant health? I am in need of script of maestro so that I can generate frequency for different colors and then detect IR/Red ratio to detect plant health. I will really appreciate any kind of feedback.