arduino-libraries / RTCZero

RTC Library for SAMD21 based boards
http://arduino.cc/en/Reference/RTC
GNU Lesser General Public License v2.1
78 stars 78 forks source link

Add RTCZero::reset function #36

Open brendandower90 opened 6 years ago

brendandower90 commented 6 years ago

This would be really simple to do but would save extra time. I have added it to the RTCZero.cpp file on my local machine, but it could be a feature that more people would be interested in.

void RTCZero::reset() { setTime(0,0,0); }

agdl commented 6 years ago

What's the point of this function? you can simpy add it to your sketch if you need it. It's just one line of code