This is a little project I started to improve my c-programming skills especially for the Atmel AVR (8bit microcontroller) platform. The clock works quite well but there are problems if the time signal is too weak and the error count too high. I know my programming style is not the best and I would be glad to receive some ideas how to do it better. If there is any interest in this project I will also upload the schematics.
Sourcecode