Implement second photo resistor & overall logic