Using light to frequency sensor to control servos at different frequencies

HI - are you saying you want to add the first code snip with the light component code into the 2nd snippet?