Page 1 of 1

Megunolink library error

Posted: Sat Oct 01, 2022 6:39 pm
My Meguno project that worked great last time i compiled my code (over a year ago) now has an error. The error says that " tm " is not defined in the Timeplot.h file inside the MLP-Master library. Any help is greatly appreciated.

this is the message i am getting....

In file included from C:\Users\Greg\Documents\LTSketchbook\libraries\MLP-master/MegunoLink.h:6:0,
from C:\Users\Greg\Desktop\P-TESTER-V2\P_TESTER-V2.2\FIRMWARE 2.03\P-TESTER-V2rev2.03\P-TESTER-V2rev2.03.ino:7:
C:\Users\Greg\Documents\LTSketchbook\libraries\MLP-master/utility/TimePlot.h:90:50: error: 'tm' has not been declared
void SetCursorPosition(const char* SeriesName, tm &Time);
C:\Users\Greg\Documents\LTSketchbook\libraries\MLP-master/utility/TimePlot.h:91:65: error: 'tm' has not been declared
void SetCursorPosition(const __FlashStringHelper* SeriesName, tm& Time);
Using library MLP-master at version 1.30 in folder: C:\Users\Greg\Documents\LTSketchbook\libraries\MLP-master
Using library Time-master at version 1.5 in folder: C:\Users\Greg\Documents\LTSketchbook\libraries\Time-master
Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire
Using library SparkFun_MS5803-14BA_Breakout_Arduino_Library-master at version 1.1.2 in folder: C:\Users\Greg\Documents\LTSketchbook\libraries\SparkFun_MS5803-14BA_Breakout_Arduino_Library-master
exit status 1
Error compiling for board Arduino Pro or Pro Mini.