6v6gt:
try something like the following in your sketch :#include <DS3231.h>
DS3231 myDs ;
. . .
. . .
Serial.println( myDs.unixtime() ) ;
. . .
. . .
I try this but i get this Error:
error: within this context
exit status 1
within this context