Giter Club home page Giter Club logo

arduino-ds1302's People

Contributors

atsampson avatar mirai-computing avatar msparks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arduino-ds1302's Issues

Garbage date on every other read

I used the "set time" example to test my RTC but on every other read the date is garbage. Here's the output of the program:

(unknown day) 2011-84-11 11:100:19
Thursday 2017-08-17 17:41:33
(unknown day) 2011-84-11 11:100:20
Thursday 2017-08-17 17:41:35
(unknown day) 2011-84-11 11:100:21
Thursday 2017-08-17 17:41:37
(unknown day) 2011-84-11 11:100:22
Thursday 2017-08-17 17:41:39
(unknown day) 2011-84-11 11:100:20
Thursday 2017-08-17 17:41:41
(unknown day) 2005-42-05 05:130:50

I've not modified the code or the example. I changed the battery that came with the unit but that has not solved it.

Day of the week, in example script - set_clock.pde

First of all thanks for spending the time to create this library and donating it to the world. It helped me get up and running very rapidly with this cheap RTC board.
Just a minor amendment, I believe there is an error with the switch case, which defines the name of the day of the week, starting on line 33 of "set_clock.pde".
I noticed the day of the week was displaying as Tuesday when it was actually Thursday.
I believe this is the correct order.
Monday = 0, Tuesday = 1, Wednesday = 2, Thursday = 3, Friday = 4, Saturday = 5, Sunday = 6.

Show time issue

Master does not work with my DS1302 9905A3 163AC. Shows strange date, random seconds. However, previous commit f4794ec works fine

Sorry, it was power issue

Example sketch does not compile with Arduino 1.0.1

Compile files: 'const class String' has no member named 'c_str'

This is just an FYI, I don't need a fix. I just changed dayAsString to dayAsInt and moved on. I imagine the Arduino folks made a change to the String implementation. Thanks for providing this library!

expected identifier before 'void'

When I try to compile the code I get an error message saying " expected identifier before 'void' " and it's pointing at

case Time::kSunday: return "Sunday";

Did I install this wrong or maybe missing any files?

Issue setting time

I have been trying to set-up my DS1302 module this evening. I used the example set_clock.ino and connected the pins as shown in the diagram to the arduino. I also changed the date/time in the code on line 68 from: Time t(2013, 9, 22, 1, 38, 50, Time::kSunday); to Time t(2018, 11, 18, 17, 20, 00, Time::kSunday);

The serial monitor output just repeats: (unknown day) 2000-00-00 00:00:00. Am I missing something?

bug in sec and min conversion

I modified the sample sketch to run every one sec. There's a bug where every other sec and every other minute is wrong. See attached image.

ds1302 bug matt sparks

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.