I am sure this problem has been solved before. I have searched around but I cannot find it:
What I need is a counter of seconds since boot time. Thanks to some tidying up of my code, I now have a cog to spare. I assume a dedicated cog is required - or a dedicated chip.
Any idea for an Object - or a chip - is much appreciated.