Post date: Oct 06, 2016 8:14:39 PM
This switch uses the photoresistor sensor, and on one tap it turns an LED on and on a double tap it turns the LED off. The way I wrote the code allows me to expand, and increase the complexity of the switch. It can for example be user as a switch to turn on a desk lamp.Â