From 6468d8e22604adbae7505fa31338b0d82c4c4050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20S=C3=B6derby?= <35461661+karlsoderby@users.noreply.github.com> Date: Mon, 25 Oct 2021 10:47:18 +0200 Subject: [PATCH] Update api.md --- docs/api.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/api.md b/docs/api.md index aaab5fd..3d8409d 100644 --- a/docs/api.md +++ b/docs/api.md @@ -45,6 +45,21 @@ rtc.setMinutes(byte minutes) - minutes: the minutes value to be set. +### `setSeconds()` + +#### Description +Set the RTC seconds value. + +#### Syntax + +``` +rtc.setSeconds(byte seconds) +``` + +#### Parameters +seconds: the seconds value to be set. + + ### `setTime()` Set the RTC hours, minutes and seconds.