I also needed to include TimeLib.h, however it was for the declaration of tmElements_t tm;
I still cant use print2digits.
Why not using Serial.print(tm.XXX)? This works for me.
I also needed to include TimeLib.h, however it was for the declaration of tmElements_t tm;
I still cant use print2digits.
Why not using Serial.print(tm.XXX)? This works for me.