Open chrisdiphoorn opened 1 year ago
Updated the code to support Arduino Mega2640 as i could not get my esp32 AI-Thinker to work. These were the changes i need make to get daves code working on Mega 2560 - OK :)
Using the Arduino Library Manager, Install "Time by Michael Margolis" Install "ArduinoSTL by Michael Matera" - https://github.com/mike-matera/ArduinoSTL)
Update parts of Daves code with these changes:
//#include <sys/time.h> // comment this out
changed tm tv = {0} -----> timeval tv = { 0 };
Updated the code to support Arduino Mega2640 as i could not get my esp32 AI-Thinker to work. These were the changes i need make to get daves code working on Mega 2560 - OK :)
Using the Arduino Library Manager, Install "Time by Michael Margolis" Install "ArduinoSTL by Michael Matera" - https://github.com/mike-matera/ArduinoSTL)
Update parts of Daves code with these changes:
include "ArduinoSTL.h" // Added this library to support vectors
//#include <sys/time.h> // comment this out
include // For time-of-day
changed tm tv = {0} -----> timeval tv = { 0 };