Skip to content

wrong date with Due_RTC_Simple_Sample_oneline_time_and_date #8

Open

Description

@iddq

Can you please check the date in the output of Due_RTC_Simple_Sample_oneline_time_and_date example?
I always get
Date: Mon 01.01.2007

I use RTC_clock rtc_clock(RC);

other question why XTAL doesn't work and what is this option exactly?

thanks

Activity

  1. MarkusLange commented on Jun 9, 2016

    @MarkusLange
    Owner

    The Arduino Due has an internal RC for the Clock or/and an external crystal so if the option XTAL does not work your Due has no external crystal.

    So you get Date: Mon 01.01.2007 this is the "normal" Date the Chips comes with. What Time shows up? Looks like the rtc_clock.set_clock(__DATE__, __TIME__); line does not work right. Did you use the sample as it is or did you change something?

  2. iddq commented on Jun 9, 2016

    @iddq
    Author

    RC is very inaccurate. I experienced 3 seconds delay within 30 seconds. Can you please send me a link about how I could install an XTAL? I've modified the XTAL to RC and the port speed, nothing more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions