Simple photoresistor example