Yes, I think an ATTiny85, one resistor, the LDR or phototransistor, and a decoupling capacitor would do the job. The only advantage I can see for the LM319 solution is that it will work with higher supply voltages.
Yes, I think an ATTiny85, one resistor, the LDR or phototransistor, and a decoupling capacitor would do the job. The only advantage I can see for the LM319 solution is that it will work with higher supply voltages.