Skip to content

Commit 4ff3f0c

Browse files
committed
Add depends to library.properties. Closes #73.
Update alarm primer.
1 parent cd38d7f commit 4ff3f0c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

alarm-primer.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Sets Alarm 1 to occur once per minute at five seconds after the minute. Detects
5454
Sets Alarm 1 to occur once a minute at 5 seconds after the minute. Configures the RTC INT/SQW pin to be asserted when alarm match occurs. Detects the alarm by polling the INT/SQW pin.
5555

5656
### alarm_ex3
57-
Sets Alarm 1 to occur every 10 seconds. Detects the alarm by polling the RTC alarm flag. Note that the RTC does not have an alarm mode for every 10 seconds, so after an alarm occurs, we reset the alarm register to the current time plus ten seconds.
57+
Sets Alarm 1 to occur every 10 seconds. Detects the alarm by polling the RTC alarm flag. Note that the RTC does not have an alarm mode for every 10 seconds, so after an alarm occurs, we reset the alarm register to the current time plus ten seconds.
5858

5959
### alarm_ex4
6060
Set Alarm 1 to occur every second. Detects the alarm by polling the RTC alarm flag.
@@ -67,3 +67,6 @@ Sets Alarm 1 for 20 seconds after each minute and Alarm 2 for each minute (at 00
6767

6868
### alarm_ex7
6969
Sets Alarm 2 for a specific time of day, hh:mm. Configures the RTC INT/SQW pin to be asserted when alarm match occurs. Detects the alarm by polling the INT/SQW pin.
70+
71+
### alarm_ex8
72+
Set both alarms to occur once per day at different times. Configure the RTC INT/SQW pin to be asserted when alarm match occurs. Detect the alarms by polling the INT/SQW pin. Assumes the RTC time is already set.

library.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name=DS3232RTC
2-
version=1.2.9
2+
version=1.2.10
33
author=Jack Christensen <jack.christensen@outlook.com>
44
maintainer=Jack Christensen <jack.christensen@outlook.com>
55
sentence=Arduino Library for Maxim Integrated DS3232 and DS3231 Real-Time Clocks.
66
paragraph=Requires PJRC's improved Arduino Time Library, https://github.com/PaulStoffregen/Time
77
category=Timing
88
url=https://github.com/JChristensen/DS3232RTC
99
architectures=avr
10+
depends=Time

0 commit comments

Comments
 (0)