Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 04, 2016, 11:11:48 23:11


Login with username, password and session length


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

Posts: 371

Thank You
-Given: 219
-Receive: 567


« on: June 20, 2015, 11:54:26 11: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, 12:11:38 12: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