updated Spark.syncTime() code example

lastSync should have been defined as unsigned long, and defining it as type static inside the loop() will confuse most people.  Just made it global to make it clearer. ONE_DAY_MILLIS is a constant so a #define is good coding practice here instead of static const int.