Changed the frequency at which the RTC is read.
The RTC is now read every second which is determined when the milisecond
count goes to 0.
Merge remote-tracking branch 'origin/master'