Skip to content

Commit c7676dd

Browse files
authored
Merge pull request #77 from arduino-libraries/karlsoderby/add-seconds-api
Update api.md
2 parents 4a7710b + 6468d8e commit c7676dd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/api.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,21 @@ rtc.setMinutes(byte minutes)
4545

4646
- minutes: the minutes value to be set.
4747

48+
### `setSeconds()`
49+
50+
#### Description
51+
Set the RTC seconds value.
52+
53+
#### Syntax
54+
55+
```
56+
rtc.setSeconds(byte seconds)
57+
```
58+
59+
#### Parameters
60+
seconds: the seconds value to be set.
61+
62+
4863
### `setTime()`
4964

5065
Set the RTC hours, minutes and seconds.

0 commit comments

Comments
 (0)