Hello, I’m working on an automation product that connects my Arduino Uno with Google Calender. I have multiple libraries that are used for this product (a timing library, temboo library, servo library). In short, the way the program is supposed to work is you schedule an event via Google Calender. The program then gets the next available event from Google Calender. If the event has the same triggername and is the same month, day, and within 3 hours of the current time then the program will wait the allotted amount of time to then perform an action. I’m having no difficulty receiving the current time, and the time of the event. My question is if the error is within the while loop I am using (to compare the date,time, and name) or if the error is with the trigger name and event name(involving strings).
Attached is my code used for this project, and a screenshot of my program crashing when entering the for loop from the serial monitor. The only thing not included is my temboo account information.
Any feedback or corrections would be helpful. Thank you for your time.
Google_Calender_Automation.ino (7.66 KB)