Hi jcleaver,

Do you have your RTC variables declared in your program? Look on page 2 or the Project MN1307 program about 1/2 way down.

Also do you have a statement "RTCSec.7 = 0". You need this to start the clock running. The clock chip powers up with RTCSec.7 = 1 which turns the osc off.

Your program could be returning the errors if you don't have the clock variables declared. Guessing at this point.

I see you have several segments to your program. You should take each one step by step. First get your LCD working. Something like a "Hello World". Then get the A/D portion working. Then add the clock program.

HTH,

BobK