BTW, the photo-transistor circuit does not need the op-amp if you are just going to wire it to a uC input. Just tie the phototransistor emitter to ground and pull the collector up to Vcc with a 4.7K resistor (or there abouts), and then tie the collector to the uC input. Viola! Easy, and it works great.