I've been trying to hook up two solar panels as the inputs to an op amp LM741. My goal is to have the output be positive and saturated when solar panel #1 has light shined on it and the other doesn't. Then I want the output to be negative and saturated when the light is on solar panel #2 and not the first. I'm having trouble figuring out how to properly wire the circuit. Also, I've been using two 9 Volt batteries for my positive and negative power supply and where they meet as ground.
The voltage of each solar panel is 3V and I'm not clear on how to wire them correctly to compare their outputs using an op amp. Can you please explain in detail where the positive and negative leads of the solar panels should go for an LM741 with two 9 Volts batteries for the power supply.