For this project we wanted to created a pair of devices such that if one person pushes a button it will be synced to another person's particle console, making both people's servo motor spin the same number of degrees.
Listed below are first person's code, second person's code, and a video.
We first integrated a button into one person's circuit. Then we tried creating and publishing a button pushed event to the particle cloud. After that is working, we worked on creating a webhook that allows one device to communicate to another. Then, we tested the webhook. We realized we should reset the servo motor degree before every try otherwise it does not move. After fixing that we have it working.
You can upload files of up to 20MB using this form.