Announcement

Collapse
No announcement yet.

Use of the RTCZero library?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Use of the RTCZero library?

    Has anyone been able to program the P1AM through the RTCZero library? I don't seem to be able to get it to compile for the P1AM board even though it is based on the MKRZERO board?

  • #2
    We've used it a bunch of times. Have you downloaded from the library manager and do you have the P1AM-100 selected as your board under tools?

    Any compiler errors you can post will be helpful as well.

    Comment


    • #3
      Found the solution!
      https://forum.arduino.cc/index.php?topic=456172.0

      Relevant:
      Code:
      Unfortunately the libraries are not compatible since, TimeLib contains a Time.h file and RTCZero.h depends on the POSIX time.h header. Since Windows has a case insensitive filesystem, Timelib's time.h conflicts.

      Comment


      • #4
        Glad to hear you found something. I'm not sure if it will be helpful for your case, but I just posted an example for re-syncing your RTC with an NTP server: https://forum.automationdirect.com/f...p-sync-example

        Comment

        Working...
        X