Step 4: With MHC, configure RTC Peripheral Library
Add the RTCC component.
Expand the Available Components window for Peripherals > RTCC and select the RTCC component.
Your Project Graph should now resemble the screen shown in Figure 2.
Select the RTCC Peripheral Library and Enable Interrupt in the Configuration Options. Then, enter the Time, Date, and Weekday you want (it does not matter for the success of this lab).