You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
#include "ArduinoSTL.h" // Added this library to support vectors
//#include <sys/time.h> // comment this out
#include <TimeLib.h> // For time-of-day
changed tm tv = {0} -----> timeval tv = { 0 };
The text was updated successfully, but these errors were encountered:
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 <TimeLib.h> // For time-of-day
changed tm tv = {0} -----> timeval tv = { 0 };
The text was updated successfully, but these errors were encountered: