The biggest challenge was learning the syntax of the if statements and getting the brackets in the right place. It was satisfying to start assembling different functions to solve this problem and build a small alarm system.
If I were building this for real, I wouldn't use the LED; I would send the photocell data to the particle cloud and have the > 3000 reading trigger a text message to the user. For this project, I used the LED lighting up as a proxy for that notification. I did, however, include the code to send the photocell data to the particle cloud.
Is this a good/useful/informative piece of content to include in the project? Have your say!