Writing a code for an analoge clock may seem a bit of a daunting task. Especially the calculations for the positions of the hands, but it isn't really that hard at all.
In this instructable I will talk a little bit about the theory and then we'll move on to the actual code itself. This was just a project build on the breadboard, while building my wifi radio
. It started life as the script for a grafical volume button and ended up as a clock that never made it in the final project but it might come in handy for one of you out there.
My code will be written in Bascom but it will be very easy to translate it into your favorite language once you understand the theory.