4 Replies Latest reply on Aug 31, 2018 10:44 PM by saesc_1538091

    Setting up RTC_1

      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?