Varie · 11 May 2013 0

New release 1.2.0 of the swRTC

I’ve released the new version 1.2.0 of the swRTC library that introduces the support for the internal Real-Time Counter (RTC) that is present on several MCUs. This module permits to use the timer 2 in asynchronous mode with an external 32,768 Hz crystal. Setting up the timer 2 with a prescaler of 128, we get 1 overflow every 1 secon so that we can increment the software clock in a more accurate manner.

The RTC module is only present in Atmega88/168/328, Atmega8, Atmega344/644/1284 and Atmega1280/256x.

Download the latest revision of the library from this page.