DS3231.h - DS3231.h Header file for the DS3231 Real-Time...

  • No School
  • AA 1
  • 3

This preview shows page 1 - 2 out of 3 pages.

/* DS3231.h - Header file for the DS3231 Real-Time Clock Version: 1.0.1 (c) 2014 Korneliusz Jarzebski This program is free software: you can redistribute it and/or modify it under the terms of the version 3 GNU General Public License as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <;. */ #ifndef DS3231_h #define DS3231_h #if ARDUINO >= 100 #include "Arduino.h" #else #include "WProgram.h" #endif #define DS3231_ADDRESS (0x68) #define DS3231_REG_TIME (0x00) #define DS3231_REG_ALARM_1 (0x07) #define DS3231_REG_ALARM_2 (0x0B) #define DS3231_REG_CONTROL (0x0E) #define DS3231_REG_STATUS (0x0F) #define DS3231_REG_TEMPERATURE (0x11) #ifndef RTCDATETIME_STRUCT_H #define RTCDATETIME_STRUCT_H struct RTCDateTime { uint16_t year;
Image of page 1

Subscribe to view the full document.

Image of page 2
  • Fall '19
  • Implied warranty, GNU General Public License, Free Software Foundation, uint16, t year

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern