This example makes use of the exceptional DT-INTS14 by Darrel Taylor and an old post of Bruce Reynolds about Timers.
Actually is a 24h clock based on the timer 1 of many chips in the 16F or 18F series.
The code is using 20MHz crystal and without any calibration it shows an accuracy of 2sec per day or 12 minutes per year.
Two buttons increment the Hours and Minutes to set the time.
Happy counting!
Ioannis


Menu

Re: PIC16F1783: Erase algorithm incorrect
I am not sure this went into a reply. I logged in when I sent it, but the forum said I was not logged in.
SuddyCamp - 14th November 2025, 23:07Try again.
Thanks for the info. I sent an email to ME Labs and they responded I needed an...