Code: Select all
sketch_feb16a:43: error: ‘class DateTime’ has no member named ‘get’
...I'll try to replace it with unixtime( ) or secondstime()...
EDIT: okay.. the example from /examples/ds1307/ds1307.pde had unixtime, and it compiled this time. Thanks everyone!
As of this post the tutorial on the website still says:
Code: Select all
// calculate a date which is 7 days and 30 seconds into the future
DateTime future (now.get() + 7 * 86400L + 30);