-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue setting time #10
Comments
There are lots of different types of DS1302 module. Before I succeeded my
source, I’ve experienced the same error with my module.
When you meet that error, it may means that your DS1302 library is not fit
to your model. I recommend you to change to the other 1302 library on the
Internet till success. It was same to me.
Good Luck to you.
2018년 11월 19일 (월) 오전 2:30, avierose <[email protected]>님이 작성:
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?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#10>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AkZJYqpVy51k7fpgLUGHVejoai6pJnkyks5uwZlKgaJpZM4YoC37>
.
--
--------------------------------------------------------
Mobile : 010-5456-1492
e-mail : [email protected]
[email protected]
--------------------------------------------------------
|
I just test this file in my chip, it was OK, my chip is: |
I'm having a similar issue, but am getting the time of "2165-165-165 27:165:85" over and over again. |
I have the same problem, ended up using the one by Henning Karlsen but I haven't had the time to check why one works and the other doesn't |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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);
toTime 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?The text was updated successfully, but these errors were encountered: