setTime()
Description
Set the RTC hours, minutes and seconds.
Syntax
rtc.setTime(uint8_t hours, uint8_t minutes, uint8_t seconds)
Parameters
hours
: the hours value to be set.
minutes
: the minutes value to be set.
seconds
: the seconds value to be set.
See also
- begin()
- setHours()
- setMinutes()
- setSeconds()
- setYear()
- setMonth()
- setDay()
- setDate()
The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.