Arduino Function: rtc.begin

Description

This is the main method and is used to initialize RTC in clock calendar mode. The parameter timeMode is used to change clock representation mode, if timeMode is true (TIME_H24) time is repesented in h24 mode else if timeMode is false (TIME_H12) time is represented in h12 mode.

Syntax

rtc.begin(TIME_H24);

Returns

 bool timeMode

Written by arduino.org