Well, after a month of trying to get this thing to work, I need help. Basically, what I am trying to do is build a clock which will record the date and time when tripped by some sort of device. The program is built, however I am having a problem in one part of the program where I try to read the 24C65. The program is directed by a couple of switches in the circuit and I can read and write to the RTC with no problem, It displays just fine and will keep good time for weeks at a time, and I believe that the portion of the program where I write to the 24C65, is working, but I cannot read it. When I set the switches to read the 24c65 and drop into that part of the program, I cannot get out of it and my display will blank out or move what I have all ready written to it. I have stepped thru the program dozens of times and it seems to work in MPLAB IDE but in the real world, well, it is a different matter.
Attached is my code and also a PDF of the schematic. Any help to point me in the right direction would be greatly appreciated.
Mike
Attached is my code and also a PDF of the schematic. Any help to point me in the right direction would be greatly appreciated.
Mike
Attachments
-
421.7 KB Views: 14
-
60.7 KB Views: 19