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

Is it possible to run RTC at ms level? #14

Closed yzliao closed 8 years ago

yzliao commented 8 years ago

I want to acquire data every 100ms. Is it possible to implement this by using RTC library?

Thank you!

sandeepmistry commented 8 years ago

Hi @yzliao,

It would be possible if you change the prescaler the code uses, but then seconds won't be really seconds.

I think a much better option would be to use michael71's Timer5 library: https://github.com/michael71/Timer5