Why PIC's Internal RTCC is not giving correct date and time ?
I am using PIC18F27J53 and its Internal RTCC module. I have written this code and it seems the register configurations and usage are correct but I am not getting correct date and time. Project files + Proteus 8.2 SP2 format Simulation file attached.
Proteus File is attached. It can be simulated and results seen. I need Date, Time and Weeday data from RTCC. Also it is giving some warnings in Proteus.