Initial coding of photoresistor usage for the enable