The goal was to make a very accurate clock with cheap parts.
The microcontroller was programmed with assembly.
At a stable temperature (27°C), I reached the accuracy of = 20 µs/day