RTCZero - setTime()

Set the RTC hours, minutes and seconds.

Syntax

rtc.setTime(byte hours, byte minutes, byte seconds)

Parameters

  • hours: the hours value to be set.

  • minutes: the minutes value to be set.

  • seconds: the seconds value to be set.