Skip to content

Commit

Permalink
Add depends to library.properties. Closes #73.
Browse files Browse the repository at this point in the history
Update alarm primer.
  • Loading branch information
JChristensen committed Dec 31, 2019
1 parent cd38d7f commit 4ff3f0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion alarm-primer.md
Expand Up @@ -54,7 +54,7 @@ Sets Alarm 1 to occur once per minute at five seconds after the minute. Detects
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.

### alarm_ex3
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.
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.

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

### alarm_ex7
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.

### alarm_ex8
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.
3 changes: 2 additions & 1 deletion library.properties
@@ -1,9 +1,10 @@
name=DS3232RTC
version=1.2.9
version=1.2.10
author=Jack Christensen <jack.christensen@outlook.com>
maintainer=Jack Christensen <jack.christensen@outlook.com>
sentence=Arduino Library for Maxim Integrated DS3232 and DS3231 Real-Time Clocks.
paragraph=Requires PJRC's improved Arduino Time Library, https://github.com/PaulStoffregen/Time
category=Timing
url=https://github.com/JChristensen/DS3232RTC
architectures=avr
depends=Time

0 comments on commit 4ff3f0c

Please sign in to comment.