-
Notifications
You must be signed in to change notification settings - Fork 80
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
Alarm 2 gives wrong Alarm bits back #7
Comments
Hi, Here is my code adding the Alarm: Alarm 1 is working fine. |
Have you tried reading the Alarm2 bits? Do they show the same value as you gave them(100)? |
Yes, the bits returned show 96 |
Can you try the following: Clock.setA2Time(0, 14, 02, 0b1000000, true, false, false); In my code I use sucessfully the following: rtc.setA1Time(0, 0, 0, 10,0b00001110, false, false, false); // 1110 means: Alarm, when seconds(10) match |
Hi SimGas, |
Thanks, folks, for helping each other! |
Hi,
I discovered that Alarm 2 gives wrong alarm bits back when reading them. I'm not sure if the wrong bits are written to the controller or if just the reading is wrong. but I think its a combination of both problems.
Alarm 1 works totally fine
The text was updated successfully, but these errors were encountered: