3 Replies Latest reply on May 6, 2016 11:41 AM by user_1377889

    Setting up RTC_1

    david_1620271

      We are currently using a Timer2 period of 250mSec.
      This currently SPEEDS UP the unix time to 4X -  not what we want!

         

      I tried calling RTC_1_SetPeriod() with different values - I still get the same clock-rate. I'm not sure what this function accomplishes!

         

      I implemented a 'divide-by-4' counter in RTC_1_Update() to correct the problem - unix time is now updated once/second.

         

      Is there a more elegant way to fix this problem?