FastArduino
v1.8
C++ library to build fast but small Arduino/AVR projects
|
Create a future to be used by asynchronous method set_datetime(SetDatetimeFuture&). More...
#include <fastarduino/devices/ds1307.h>
Create a future to be used by asynchronous method set_datetime(SetDatetimeFuture&).
This is used by set_datetime()
to pass input settings, and it shall be used by the caller to determine when the I2C transaction is finished.
datetime | the new date/time to set on the RTC chip; all values must be properly set and be correct, in particular, note that tm::tm_wday must be set correctly by yourself (the RTC chip does not calculate it itself). |