I attempted to do this by first working with the tilt switch to make sure the led was turning on and off based on the switch, and then the next step was introducing the photoresistor. I did not have a difficult time with the circuit or code, but it is taking me time to get used to particle. I wanted to see what values the sensor was outputting based on how much I was covering it, but was having a difficult time figuring out Serial,print and how to view it.
Is this a good/useful/informative piece of content to include in the project? Have your say!