Lab 2: Log Data to SD Card
Step 4: With MHC, configure RTC Peripheral Library
1
Add the RTCC component.
Expand the Available Components window for Peripherals > RTCC and select the RTCC component.
Figure 1: Add RTCC
Your Project Graph should now resemble the screen shown in Figure 2.
Figure 2: Project Graph
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).
Figure 3: Enable RTCC Interupt