Giter Site home page Giter Site logo

interfacercompany / urtclib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from naguissa/urtclib

0.0 0.0 0.0 1.43 MB

Really tiny library to basic RTC functionality on Arduino. DS1307, DS3231 and DS3232 RTCs are supported.

Home Page: https://www.foroelectro.net/librerias-arduino-ide-f29/rtclib-arduino-libreria-simple-y-eficaz-para-rtc-y-t95.html

License: GNU Lesser General Public License v3.0

C++ 100.00%

urtclib's Introduction

Arduino, ESP8266, STM32, ESP32 and others uRTCLib

Master status: Build Status

What is this repository for?

Really tiny library to basic RTC functionality on Arduino, ESP8266, STM32, ESP32 and other microcontrollers.

DS1307, DS3231 and DS3232 RTCs are supported (and compatibles)

Supported features:

  • SQuare Wave Generator
  • Fixed output pin for DS1307
  • RAM for DS1307 and DS3232
  • temperature sensor for DS3231 and DS3232
  • Alarms (1 and 2) for DS3231 and DS3232
  • Power lost flag reading and clearing

EEPROM support has been moved to https://github.com/Naguissa/uEEPROMLib

How do I get set up?

You can get it from Arduino libraries directly, searching by uRTCLib.

For manual installation:

  • Get the ZIP.
  • Rename to uRTCLib.zip
  • Install library on Arduino

Documentation and extras

You can find all documentation and extras in this repository: https://github.com/Naguissa/uRTCLib_doc_and_extras

You can read documentation online here: https://naguissa.github.io/uRTCLib_doc_and_extras/

Examples

Included on example folder, available on Arduino IDE.

Important notes

  • Check .h file to see all constants and per-model limitations
  • Alarm pin is normaly HIGH and turns LOW when active.
  • When using alarms, you need to clear the alarm flag manually using alarmClearFlag(). If not done alarm maintains its LOW state.
  • When using alarms SQWG is turned off. When using SQWG alarms are turned off. They're mutually excluding.

Who do I talk to?

Contribute

Any code contribution, report or comment are always welcome. Don't hesitate to use GitHub for that.

Thanks for your support.

Contributors hall of fame: https://www.foroelectro.net/hall-of-fame-f32/contributors-contribuyentes-t271.html

urtclib's People

Contributors

naguissa avatar sergdesher avatar arminjo avatar grepis avatar interfacercompany avatar mrcodetastic avatar davidhbrown avatar lbovet avatar wobo68 avatar hyperion11 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.