connect photo resistor to ad converter