Sonsivri

Electronics => Projects => Topic started by: zuisti on June 20, 2015, 10:54:26 10:54



Title: Long delay timer with real time clock display (EFY December 2014)
Post by: zuisti 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