Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 08:52:04 08:52


Login with username, password and session length


Pages: [1]
Print
Author Topic: Long delay timer with real time clock display (EFY December 2014)  (Read 10267 times)
0 Members and 1 Guest are viewing this topic.
zuisti
Senior Member
****
Offline Offline

Posts: 409

Thank You
-Given: 242
-Receive: 780


« on: June 20, 2015, 10:54:26 10:54 »

Long delay timer with real time clock display (EFY December 2014)

Accept with criticism about the published C program, not an efficient solution.
For example it is not a good practice to put the relative slow LCD routines in to the interrupt handler.
They run at every 1 sec but the handler itself runs at every 50 ms: can be mistakes there (missing counts).
Instead, have to use a flag there and use this flag in the main to display the time etc. values on the LCD.

I'm sorry ...
@pushycat: of course I know this is a mistake of the original authors (and the redactor of EFY :-)
Anyway, thank you for this post.
Regards
zuisti
« Last Edit: June 20, 2015, 11:11:38 11:11 by zuisti » Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC