My MCU is 16f877a
I am starting to design a clock using timer1 external oscillator ( clock crystal 32678Hz ) but it dose not work with Proteus
then I changed to internal oscillator, then it is working fine
Please help
Thanks in advance
Click on the Generator Mode icon on the left hand toolbar.
That opens the Generator window, select DCLOCK, point and click the object close to the RC0 Pin and then connect its Arrow to the RC0 pin as shown in my previous picuture.
Then Right click on the U1 label and Edit Properties to open the window to select the frequency you want.
Ist not shown in the 877A datasheet but if you look in the 16F88 datasheet for Timer1 it details how to use Timer1 as a RTC - its in assembler but it should give you a good idea.