Home › Forums › Project Discussions › Digital Clock using PIC microcontroller and ds1307 › Reply To: Digital Clock using PIC microcontroller and ds1307
It works without problems for PIC16F877A, but when i changed controller to PIC16F887 i get an error “Undeclared identifier CMON in expression”. Because PIC16F887 has no CMON register to turn off comparators. I inserted C1on.bit=0 and C2on_bit=0 to disable comparators for PIC16F887, but nothing. I still get not proper date/time on LCD. Do you have any idea?