I came across several coding problems when trying to understand how millis() works. Therefore I divided my code into sereval parts to test it separately to find out what the errors were. With the help of my roommate from school of computer science and Max Wu, I manged to run the code eventually.
I really like the IFTTT feature because it solves some problems that I would really encounter in my daily life.
However, I have found that this feature does not run very consistently and may have a time delay, I don't know if this is due to a problem with my code writing or if the network is causing the delay, it may need to be explored further.
You can upload files of up to 20MB using this form.