I'm trying to modify an existing project (the http://www.alan-parekh.com/hard_drive_clock.html ) and I only know very little about programming. The modifications I did to the base coding already is make it run on an external 4MHz crystal and added a second hand to the clock (instead of the 2 LED ports lighting up) on the RB3. Looking at the schematic, the RA0 to RA5 ports are free and so is port RB7. I have the DS1307 and the PIC16F628 chips and would like to interface them, but I don't know how to intagrate it into the exisiting coding.
I'm seeking your help here, because I believe Melanie wrote the original coding that's on the PICBasic site and it's the only coding that I can find interfacing a PIC16F628 with a DS1307 in PICBasic coding.
My modified source code is here and if you spot any bugs, please point them out:
Bookmarks