Intention
Get to learn about Particle and get hands on the circuit.
First take away for me might be a more common situation for beginners of circuit and coding, which is missing semicolons, comma and other elements of coding.
To be specific, like replacing the semicolons in the for loop with comma.
Another one is to locate the toINT command to turn string command into int. Which I found on the Arduino website.
https://www.arduino.cc/reference/en/language/variables/data-types/string/functions/toint/
The website us really helpful to find relevant commands.
You can upload files of up to 20MB using this form.